Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- d = 12
- for line in sys.stdin:
- line = [int(x) for x in line.strip("n").split()]
- s = line[0]
- p = line[1]
- y = line[2]
- j = line[3]
- yertle = (d+j-y-p)/3
- spot = (d + j + 2*y - p)/3
- puff = (d+j+p-s)/3
- print spot,puff,yertle
Add Comment
Please, Sign In to add comment