Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=int(input())
- b=a
- x=b
- c=0
- z=0
- while a!=0:
- z+=1
- c=a
- a=int(input())
- x+=a
- B=(x/z)/2
- C=c+b
- print(C)
- if C>B:
- print('YES')
- else:
- print('NO')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement