# hack しようと思えばいくらでも def prime(x): if x<2: return False a=2 while a*a<=x: if x%a==0: return False a+=1 return True def my_pow(x): INF=(1<<56) tmp=1 while tmp*x<=INF:tmp*=x if x!=2: tmp*=tmp return tmp N=0 D=59 K=(1<>=D N=len(A) print(N,Q,K) print(*A) print(1,N)