#include #include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 2000000000000000001 int main(){ int N,K; cin>>N>>K; vector t(K),u(K); rep(i,K)cin>>t[i]; rep(i,K)cin>>u[i]; rep(i,N){ cout<<(i%2)+1<<' '<<1<<' '<<100<