#957
Bronze IV
FILIP
시간 제한
1s
메모리 제한
32MB
제출
2
정답
2
맞힌 사람
2
정답 비율
100.0%

문제

Author: Filip Barl Mirko has a younger brother, Filip, who just started going to school and is having trouble with numbers. To help him get the hang for number scale, his teacher writes two three digit numbers. She asks Filip to compare those numbers, but instead of interpreting them with the leftmost most significant digit, he needs to interpret them the other way around, with the most significant digit being the rightmost one. He than has to tell the teacher the larger of the two numbers. Write a program that will check Filips answers.

입력

The first and only line of input contains two three digit numbers, A and B. A and B will not be equal and will not contain any zeroes.

출력

First and only line of output should contain the larger of the numbers in the input, compared as described in the task. The number should be written reversed, to display to Filip how he should read it.

예제 입력 1

734 893

예제 출력 1

437

예제 입력 2

221 231

예제 출력 2

132

예제 입력 3

839 237

예제 출력 3

938
코드 제출

코드를 제출하려면 로그인이 필요합니다.

로그인
내 제출
제출 내역이 없습니다.
맞은 사람
#순위사용자언어시간메모리코드 길이
5703🥇
안우진
Python7ms8380KB59B
8723🥈
고수아
Python8ms8452KB249B
난이도 투표
Bronze IV1명 투표· 약 1개월 전
로그인 후 AC 받으면 투표할 수 있습니다.
전체 제출
#사용자문제결과언어시간메모리코드 길이제출 시간
8723
맞았습니다
Python8ms8452KB249B2026. 06. 02. 10:31
5703
맞았습니다
Python7ms8380KB59B2026. 04. 29. 15:06