N = int(input()) A = N p = 0 while True: if (N>>p)%2==1: B = 1<