14 lines
191 B
C++
14 lines
191 B
C++
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int n;
|
|
cin >> n;
|
|
while (n) {
|
|
int a = n % 10;
|
|
n /= 10;
|
|
cout << a;
|
|
}
|
|
return 0;
|
|
} |