def pr(v):
  if (v==1): return 1
  else: 
    print 'function call',v
    return pr(v-1)
pr(int(input("type in a number\n")))
#x=int(input("type in a number\n"))
#pr(x)

