#include using namespace std; typedef long long ll; int main() { int n; cin>>n; int a,b; a=b=0; int mul=1; while (n) { int c=n%10; a+=c/2*mul; b+=(c-c/2)*mul; mul*=10; n/=10; } cout<