
from math import *
from random import *

def N(): # nb de pas pour sortir du disque
    n=0
    d2=0
    x=0
    y=0
    while d2<40000:
        n=n+1
        t=2*pi*randint(0,359)/360
        aux=x
        x=x+10*cos(t)
        y=y+10*sin(t)
        d2=x**2+y**2
        #print([x,y])
    return n
for n in range(1):
    a=N()
    if a<50:
        print(a,end=' ')
    
def E(nb):
    s=0
    for i in range(nb):
        s=s+N()
    return s/nb
    