Run ID:68462
提交时间:2024-03-23 14:34:52
#include<iostream> #include <cstdio> using namespace std; int main(){ int a,b,c,d; scanf("%1d%1d%1d%1d",&a,&b,&c,&d); if(b==0) { cout << a << d << c; } else { cout << b << a << d << c; } return 0; }