#include using namespace std; #define ll long long ll comb(int n,int k){ ll ans=1; for(int i=1;i> x; if(x>31) cout << 0 << ' ' << 0 << endl; else if(x==0) cout << 1 << ' ' << 0 << endl; else{ unsigned ll num,sum; num=comb(31,x); sum=comb(30,x-1)*numeric_limits::max(); cout << num << ' ' << sum << endl; } return 0; }