#include #include using namespace std; #define REP(i,a,b) for(i=a;i> n; if( n % 2) x = n; else x = n/2; cout << x << endl; return 0; }