from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline N = int(input()) mod = 10**9 + 7 def convolution(f,g,mod): def _convolution(f,g,_mod): n = len(bin(len(f)+len(g)-1)) - 2 fft_length = 1<>k)&1) << (n - 1 - k) if i>k)&1) << (n - 1 - k) if i