from random import randint
n=1000
x=0
r=0
o=0
for i in range(n):
x=randint(0,1)
if x==0:
r=r+1
else:
o=o+1
print(r," решек и ",o," орлов")
from random import randint
n=1000
x=0
r=0
o=0
for i in range(n):
x=randint(0,1)
if x==0:
r=r+1
else:
o=o+1
print(r," решек и ",o," орлов")