Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. from math import *
  2. def max(x,y):
  3. if x>y:
  4. return x
  5. return y
  6. def min(x,y):
  7. if x<y:
  8. return x
  9. return y
  10.  
  11. count=0
  12. words = list(map(int, input().strip().split()))
  13. if (words[0]<3 or words[1]<3):
  14. print(count)
  15. else:
  16. print(floor((words[0]+words[1])/3))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement