from sys import stdin input=lambda :stdin.readline()[:-1] mod=998244353 n=int(input()) N=1<>i)<