xxxxxxxxxx
from random import*
s = 0.0
n = 400
for i in range(0,n):
p = randint(0,1)
if p == 0:
s = s + 1
print(s/n)