#include <stdio.h>

#include <string.h>

int main(void)

{

char N[4];

char M[4];

char temp;

int res;

scanf("%s %s", N, M);



temp = N[0];

N[0] = N[2];

N[2] = temp;


temp = M[0];

M[0] = M[2];

M[2] = temp;


res = strcmp(N, M);


if (res == 1) { printf("%s", N); }


else { printf("%s", M); }


return 0;

}


www.acmicpc.net/problem/2908' target="_blank">https://www.acmicpc.net/problem/2908


비쥬얼스튜디오에서도 결과값 제대로 나오고, 아무리찾아도 뭐때문에 오답뜨는지 모르겠어요 ㅜㅜㅜ