from numpy.random import randint
s = 0
for i in range(100000):
	s = s + randint(2)
print(s/100000)