a=int(input()) num=1 count=0 while num