Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. H = int(input())
  2. A = int(input())
  3. B = int(input())
  4. UTC = (24+H-A)%24
  5. answer = (24+UTC+B)%24
  6. print(answer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement