Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = int(input())
- Q = 31
- L = 2
- while x >= Q:
- L = L + 2
- x = x - Q
- M = x
- if M < L:
- M = L
- L = x
- print(L)
- print(M)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement