#include using namespace std; int main() { long long c[32][32],x; for(int i=0;i<32;i++) c[i][i]=c[i][0]=1; for(int i=2;i<32;i++) { for(int j=1;j> x; if(x<32) cout << c[31][x] << " " << ((1LL<<31)-1)*(x?c[30][x-1]:0) << endl; else cout << 0 << " " << 0 << endl; return 0; }