A = int(input()) B = 0 i = 0 while i