a = int(input()) tmp = 1 cnt = 0 while(tmp