Three poles stand evenly spaced along a line. Their heights are a, b and c meters, from left to right.
We will call the arrangement of the poles beautiful if the tops of the poles lie on the same line, that is, b-a = c-b.
Determine whether the arrangement of the poles is beautiful.

-----Constraints-----
 - 1 \leq a,b,c \leq 100
 - a, b and c are integers.

-----Input-----
Input is given from Standard Input in the following format:
a b c

-----Output-----
Print YES if the arrangement of the poles is beautiful; print NO otherwise.

-----Sample Input-----
2 4 6

-----Sample Output-----
YES

Since 4-2 = 6-4, this arrangement of poles is beautiful.
[{"code": "a,b,c=map(int, input().split())     \nprint(\"YES\" if b-a==c-b else \"NO\")", "passed": true, "time": 0.23, "memory": 14184.0, "status": "done"}, {"code": "pole1, pole2, pole3 = map(int, input().split())\nif pole2 - pole1 == pole3 - pole2:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.17, "memory": 14220.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif b-a == c-b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 2.21, "memory": 14292.0, "status": "done"}, {"code": "# 058_a\na, b, c = map(int, input().split())\nif (1 <= a & a <= 100) & (1 <= b & b <= 100) & (1 <= c & c <= 100):\n    d_ab = b - a\n    d_bc = c - b\n    if d_ab == d_bc:\n        print('YES')\n    else:\n        print('NO')", "passed": true, "time": 1.2, "memory": 14076.0, "status": "done"}, {"code": "# A - \u03b9\u22a5l\n# https://atcoder.jp/contests/abc058/tasks/abc058_a\n\na, b, c = list(map(int, input().split()))\n\nresult = 'NO'\n\nif b - a == c - b:\n    result = 'YES'\nelif a - b == b - c:\n    result = 'YES'\n\nprint(result)\n", "passed": true, "time": 0.22, "memory": 14084.0, "status": "done"}, {"code": "a, b, c = list(map(int, input().split()))\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.15, "memory": 14268.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nprint(\"YES\")if b-a==c-b else print(\"NO\")", "passed": true, "time": 1.2, "memory": 14076.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\n\nif b-a==c-b:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 2.16, "memory": 14204.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif b-a == c-b:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.24, "memory": 14208.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif b-a == c-b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 1.21, "memory": 14264.0, "status": "done"}, {"code": "a,b,c=map(int, input().split())\nif (b-a)==(c-b):\n  print('YES')\nelse:\n    print('NO')", "passed": true, "time": 2.21, "memory": 14096.0, "status": "done"}, {"code": "a, b, c = list(map(int, input().split()))\nif b - a == c - b:\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "a, b, c = map(int,input().split())\nprint('YES') if b - a == c - b else print('NO')\n", "passed": true, "time": 0.15, "memory": 14188.0, "status": "done"}, {"code": "a, b, c = list(map(int, input().split()))\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.24, "memory": 14156.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nprint(['NO','YES'][b-a == c-b])", "passed": true, "time": 0.27, "memory": 13988.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nif b-a==c-b:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.27, "memory": 14052.0, "status": "done"}, {"code": "a,b,c = list(map(int, input().split()))\nif b-a==c-b:\n  print(\"YES\")\nelse:\n  print(\"NO\")\n", "passed": true, "time": 0.23, "memory": 14284.0, "status": "done"}, {"code": "a, b, c = map(int,input().split())\n\nif b - a == c - b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.18, "memory": 14176.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\n\nprint('YES' if b-a == c-b else 'NO')", "passed": true, "time": 0.21, "memory": 14184.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.23, "memory": 14104.0, "status": "done"}, {"code": "def main():\n    t = list(map(int, input().split()))\n    if t[1] - t[0] == t[2] - t[1]:\n        print('YES')\n    else:\n        print('NO')\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nif b-a==c-b:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif (b - a) == (c - b):\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "a, b, c = list(map(int, input().split()))\n\ndef __starting_point():\n    if (b - a) == (c - b):\n        print('YES')\n    else:\n        print('NO')\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nif b-a == c-b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nif (b-a)==(c-b):\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.55, "memory": 14220.0, "status": "done"}, {"code": "# \u67f1\u306e\u9ad8\u3055a,b,c\u304cb-a=c-b\u3092\u6e80\u305f\u3059\u304b\n\na, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "def iroha():\n    a, b, c = list(map(int, input().split()))\n    \n    one = b - a\n    two = c - b\n\n    if one == two:\n        print(\"YES\")\n    else:\n        print(\"NO\")\n\n\n\ndef __starting_point():\n    iroha()\n\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "a,b,c=map(int,input().split());print('YNEOS'[b-a!=c-b::2])", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nprint('YES' if b-a == c-b else 'NO')", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nif b-a==c-b:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "a, b, c = list(map(int, input().split()))\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.17, "memory": 14268.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nprint('YES' if b - a == c - b else 'NO')", "passed": true, "time": 0.17, "memory": 14112.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.15, "memory": 14324.0, "status": "done"}, {"code": "a, b, c = list(map(int, input().split()))\n\nans = 'NO'\n\nif b - a == c - b:\n    ans = 'YES'\nelif a - b == b - c:\n    ans = 'YES'\n\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "a,b,c=list(map(int,input().split()))\nif b-a==c-b:\n  print(\"YES\")\nelse:\n  print(\"NO\")\n", "passed": true, "time": 0.24, "memory": 14064.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif b - a == c - b:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.17, "memory": 14240.0, "status": "done"}, {"code": "a,b,c=list(map(int,input().split()))\n\nif b-a==c-b:\n  print(\"YES\")\nelse:\n  print(\"NO\")\n", "passed": true, "time": 0.16, "memory": 14048.0, "status": "done"}, {"code": "# 3\u672c\u306e\u67f1\u304c\u7b49\u9593\u9694\u306b\u4e26\u3093\u3067\u3044\u307e\u3059\u3002\u67f1\u306e\u9ad8\u3055\u306f\u5de6\u304b\u3089\u9806\u306b\n# a \u30e1\u30fc\u30c8\u30eb,b \u30e1\u30fc\u30c8\u30eb,c \u30e1\u30fc\u30c8\u30eb \u3067\u3059\u3002\n# \u67f1\u306e\u5148\u7aef\u304c\u540c\u4e00\u76f4\u7dda\u4e0a\u306b\u4e26\u3093\u3067\u3044\u308b\u6642\u3001\u3064\u307e\u308a\n# b \u2212 a = c \u2212 b \u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u3068\u304d\u3001\n# \u3053\u306e\u67f1\u306e\u4e26\u3073\u65b9\u3092\u7f8e\u3057\u3044\u3068\u547c\u3073\u307e\u3059\u3002\n# \u67f1\u306e\u4e26\u3073\u65b9\u304c\u7f8e\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n# \u6a19\u6e96\u5165\u529b\u304b\u3089 a, b, c \u3092\u53d6\u5f97\u3059\u308b\na, b, c = list(map(int, input().split()))\n\n# \u67f1\u306e\u4e26\u3073\u304c\u7f8e\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u7d50\u679c\u3092\u51fa\u529b\u3059\u308b\n\nif (b - a) == (c - b):\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.15, "memory": 14240.0, "status": "done"}, {"code": "a,b,c=list(map(int,input().split()))\nif b-a==c-b:\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.15, "memory": 14036.0, "status": "done"}, {"code": "#   AtCoder abc058 a\n#   \u30b9\u30c8\u30ec\u30c3\u30c1\u8ab2\u984c\n\n#   \u5165\u529b\na, b, c = list(map(int, input().split()))\n\n#   \u5224\u5b9a\nif (b - a) == (c - b):\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.15, "memory": 14084.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nif b-a==c-b: print(\"YES\")\nelse: print(\"NO\")", "passed": true, "time": 0.23, "memory": 14184.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nif a-b==b-c:print('YES')\nelse:print('NO')", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b-a == c-b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14172.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif b-a==c-b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.15, "memory": 14044.0, "status": "done"}, {"code": "a, b, c = list(map(int, input().split()))\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.16, "memory": 14196.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nprint('YES' if c - b == b - a else 'NO')", "passed": true, "time": 0.16, "memory": 14284.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nif b-a==c-b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.15, "memory": 14088.0, "status": "done"}, {"code": "# \u5165\u529b\na, b, c = map(int, input().split())\n\n# b-a=c-b\u306a\u3089Yes\u3001\u9055\u3046\u306a\u3089No\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14048.0, "status": "done"}, {"code": "a,b,c = map(int, input().split())\n\nd = b-a\ne = c-b\n\nif d == e:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "#!/usr/bin/env python3\n\ndef main():\n    a, b, c = list(map(int, input().split()))\n    print((\"YES\" if b - a == c - b else \"NO\"))\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nprint(\"YES\" if b-a == c-b else \"NO\")", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nprint(\"YES\" if b-a == c-b else \"NO\")", "passed": true, "time": 0.15, "memory": 14268.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nprint(\"YNEOS\"[2*b!=a+c::2])", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nprint((\"NO\", \"YES\")[b - a == c - b])", "passed": true, "time": 0.14, "memory": 14124.0, "status": "done"}, {"code": "a, b, c = map(int,input().split())\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "# 3 \u672c\u306e\u67f1\u304c\u7b49\u9593\u9694\u306b\u4e26\u3093\u3067\u3044\u307e\u3059\u3002\u67f1\u306e\u9ad8\u3055\u306f\u5de6\u304b\u3089\u9806\u306b a \u30e1\u30fc\u30c8\u30eb, b \u30e1\u30fc\u30c8\u30eb, c \u30e1\u30fc\u30c8\u30eb \u3067\u3059\u3002\n# \u67f1\u306e\u5148\u7aef\u304c\u540c\u4e00\u76f4\u7dda\u4e0a\u306b\u4e26\u3093\u3067\u3044\u308b\u6642\u3001\u3064\u307e\u308a b \u2212 a = c \u2212 b \u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u3068\u304d\u3001 \u3053\u306e\u67f1\u306e\u4e26\u3073\u65b9\u3092\u7f8e\u3057\u3044\u3068\u547c\u3073\u307e\u3059\u3002\n# \u67f1\u306e\u4e26\u3073\u65b9\u304c\u7f8e\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\na,b,c = map(int,input().split())\n\nif b - a == c - b:\n    print('YES')\n\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "# \u5404\u6570\u5024\u306e\u53d6\u5f97\na,b,c = map(int,input().split())\n\n# \u8a08\u7b97\u7d50\u679c\u306b\u57fa\u3065\u3044\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51fa\u529b\nif b - a == c - b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14044.0, "status": "done"}, {"code": "a, b, c = list(map(int, input().split()))\n\nif b - a == c - b:\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "# 058a\n\na, b, c = list(map(int, input().split()))\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.19, "memory": 14088.0, "status": "done"}, {"code": "a,b,c = map(int, input().split())\nprint('YES' if b-a == c-b else 'NO')", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "# A - \u03b9\u22a5l\ndef main():\n    a, b, c = map(int, input().split())\n\n    if b-a == c-b:\n        print('YES')\n    else:\n        print('NO')\n  \n        \ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.15, "memory": 14184.0, "status": "done"}, {"code": "# \u5165\u529b\na, b, c = map(int,input().split())\n\n# \u51e6\u7406\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nprint('YES' if b-a==c-b else 'NO')", "passed": true, "time": 0.15, "memory": 14180.0, "status": "done"}, {"code": "a = input().split()\nif int(a[2])-int(a[1]) == int(a[1])-int(a[0]):\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.15, "memory": 14104.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nif b-a==c-b :\n  print(\"YES\")\nelse :\n  print(\"NO\")", "passed": true, "time": 0.23, "memory": 14072.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nprint(\"YES\" if b-a==c-b else \"NO\")", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nif b-a == c-b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.17, "memory": 14084.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.19, "memory": 14212.0, "status": "done"}, {"code": "# \u5165\u529b\na, b, c = map(int, input().split())\n\n# \u51fa\u529b\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.16, "memory": 14176.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nprint(['NO','YES'][b-a==c-b])", "passed": true, "time": 0.26, "memory": 14248.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif((b-a) == (c - b)):\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.28, "memory": 14160.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nprint('YES' if b-a == c-b else 'NO')", "passed": true, "time": 0.22, "memory": 14180.0, "status": "done"}, {"code": "a, b, c = map(int,input().split())\n\nif b - a == c - b :\n    print( \"YES\" )\nelse:\n    print( \"NO\" )", "passed": true, "time": 0.32, "memory": 14176.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.15, "memory": 14176.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nprint('YES' if b-a == c-b else 'NO')", "passed": true, "time": 0.22, "memory": 14120.0, "status": "done"}, {"code": "a=list(map(int,input().split()))\n \nif a[0]+a[2]==2*a[1]:\n  print('YES')\n \nelse:\n  print('NO')\n", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "a,b,c = [int(x) for x in input().split()]\nif b - a == c - b:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.18, "memory": 14136.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nif b-a == c-b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.25, "memory": 14080.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\n\nif b-a==c-b:\n    ans=\"YES\"\nelse:\n    ans=\"NO\"\n\nprint(ans)", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "#n = int(input())\na, b, c = list(map(int, input().split()))\n#l = list(map(int,input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n\nif b-a == c-b:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.15, "memory": 14300.0, "status": "done"}, {"code": "S_list = list(map(int,input().split()))\n \nif  S_list[1] - S_list[0] == S_list[2] - S_list[1]:\n    result = \"YES\"\nelse:\n    result = \"NO\"\nprint(result)", "passed": true, "time": 0.15, "memory": 14084.0, "status": "done"}, {"code": "a,b,c=map(int,input().split(\" \"))\nprint(\"YES\") if b-a==c-b else print(\"NO\")", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "a, b, c = input().split()\n\nif int(b) - int(a) == int(c) - int(b):\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14068.0, "status": "done"}, {"code": "#58\na,b,c=map(int,input().split())\nif b-a==c-b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "a,b,c = list(map(int,input().split()))\nprint((\"YES\" if b-a == c-b else \"NO\"))\n", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif b - a == c - b:\n  print('YES')\nelse:\n  print('NO')", "passed": true, "time": 0.51, "memory": 14244.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif b-a == c-b:\n    print(\"YES\")\nelse:\n    print(\"NO\")", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "A, B, C = [int(i) for i in input().split()]\n\nif B - A == C - B:\n  print('YES')\nelse:\n  print('NO')\n", "passed": true, "time": 0.15, "memory": 14240.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\n\nif b - a == c - b:\n    print('YES')\nelse:\n    print('NO')", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nprint('YES' if b - a == c - b else 'NO')", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "'''\nabc058 A - \u03b9\u22a5l\nhttps://atcoder.jp/contests/abc058/tasks/abc058_a\n'''\n\na, b, c = list(map(int, input().split()))\n\nif b - a == c - b:\n    ans = 'YES'\nelse:\n    ans = 'NO'\n\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nprint(\"YES\" if b-a == c-b else \"NO\")", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "a, b, c = map(int,input().split())\n\nif b - a == c - b:\n  print(\"YES\")\nelse:\n  print(\"NO\")", "passed": true, "time": 0.23, "memory": 14172.0, "status": "done"}, {"code": "a, b, c= list(map(int, input().split()))\nif b-a==c-b:\n    print(\"YES\")\nelse:\n    print(\"NO\")\n", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "# A - \u03b9\u22a5l\n\n# b-a = c-b\u3092\u6e80\u305f\u3057\u3066\u3044\u308c\u3070Yes, \u305d\u3046\u3067\u306a\u3051\u308c\u3070No\u3092\u51fa\u529b\u3059\u308b\n\n\na,b,c = list(map(int,input().split()))\n\nif b-a == c-b:\n    print('YES')\nelse:\n    print('NO')\n", "passed": true, "time": 0.24, "memory": 14188.0, "status": "done"}]