Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a1 = int(input())
- a2 = int(input())
- a3 = int(input())
- if (a3 - a2) == (a2 - a1):
- print("YES")
- else:
- print("NO")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement