Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import *
- def max(x,y):
- if x>y:
- return x
- return y
- def min(x,y):
- if x<y:
- return x
- return y
- count=0
- words = list(map(int, input().strip().split()))
- if (words[0]<3 or words[1]<3):
- print(count)
- else:
- print(floor((words[0]+words[1])/3))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement