k=int(raw_input().strip()) i=1 tot=0 while i