Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- """
- Created on Sat Nov 21 20:14:32 2020
- @author: Sergey
- """
- data=list(map(int, input().split()))
- a=max(data)
- b=min(data)
- c=8*a+b
- c1=8*b+a
- s=0
- for elem in data:
- s+= elem
- if s==c:
- print(b)
- else:
- print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement