#include using namespace std; int rev(int n){ int s=0; while(n>0){ s=s*10+n%10; n/=10; } return s; } int main() { int a,b; while(cin>>a>>b) { cout<