333

albin 2023-10-29 16:35:03

#include

using namespace std;

int main (){

int n;

cin >> n;

while(n!=0){
	
	int x=n;
	
	x%=2;
	
	n/=2;
	
	cout << "shang:"<< n<<" "<<"yu:"<< x<<endl;
	
}

return 0;

}