Advertisement
LilChicha174

Untitled

Mar 23rd, 2022
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. a1 = int(input())
  2. a2 = int(input())
  3. a3 = int(input())
  4. if (a3 - a2) == (a2 - a1):
  5.     print("YES")
  6. else:
  7.     print("NO")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement