#include using namespace std; typedef long long LL; typedef vector V; typedef vector VV; void rec(int v,int cnt,VV& f,VV &sum){ if(f[v][cnt]>=0)return; if(v>x;rec(31,x,f,sum); if(x>31){cout<<"0 0"<