Răspuns:
2.
#include <iostream>
using namespace std;
int main()
{
int n,ucif,pcif;
cin>>n;
ucif=n%10;
pcif=n/10;
cout<<ucif<<pcif;
}