from random import randint

count = 0

for i in range(1000):
    d = randint(1,6)
    if d == 1:
        count = count + 1

print( count )
