#yuki903 n=int(raw_input()) print 1.0/n