Advertisement
HuanMatus

Untitled

Jan 19th, 2022
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. x = int(input())
  2. Q = 31
  3. L = 2
  4. while x >= Q:
  5. L = L + 2
  6. x = x - Q
  7. M = x
  8. if M < L:
  9. M = L
  10. L = x
  11. print(L)
  12. print(M)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement