def solve(): n=int(input()) nn=1 ans=0 while nn