#include using namespace std; #define rep(i,n) for (long long i=0;i<(long long)(n);i++) #define all(v) v.begin(),v.end() using ll=long long; using pll=pair; using tll=tuple; const ll INF=(1ll<<60); template void chmin(T &a,T b){ if(a>b){ a=b; } } template void chmax(T &a,T b){ if(a v; rep(i,6){ rep(j,6){ v.emplace_back(i,j); } } random_shuffle(all(v)); rep(i,36){ cout << v[i].first+1 << " " << v[i].second+1 << endl; } }