본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 14710번 고장난 시계

by 현장 2022. 7. 8.

-Code

h, m = map(int, input().split())
res = h % 30 * 12
print("O" if res == m else "X")