#include using namespace std; int main(){ int x; long long count,sum; cin >> x; if(x > 31){ cout << 0 << " " << 0 << endl; return 0; } if(x == 0){ cout << 1 << " " << 0 << endl; return 0; } count = 1;sum = 1; for(int i=0;i