#include <stdio.h>
int reveres(int n) {
int n1,n2,n3;
n1=n/100;
n2=n/10%10;
n3=n%10;
return 100*n3+10*n2+n1;
}
int main() {
int a,b;
scanf("%d %d",&a, &b);
a=reveres(a);
b=reveres(b);
if (a>b) printf("%d",a);
else printf("%d",b);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: