R=range Q,K=map(int,input().split()) if 1