import sys input = sys.stdin.readline N = int(input()) for i in range(60): if (N>>i)&1: t = i print(1<