Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- H = int(input())
- A = int(input())
- B = int(input())
- UTC = (24+H-A)%24
- answer = (24+UTC+B)%24
- print(answer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement