import sys input = sys.stdin.readline N=int(input()) X=[[0,0] for i in range(20)] for i in range(N): for j in range(20): if i& (1<