Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a,b,c,d = map(int,input().split())
- x = (min(a,b)+min(c,d)+max(a,b,c,d))*2
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement