Problem:


Score : 100 points

Problem Statement

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 1

2 4 6

Sample Output 1

YES

Since 4-2 = 6-4, this arrangement of poles is beautiful.

Sample Input 2

2 5 6

Sample Output 2

NO

Since 5-2 \neq 6-5, this arrangement of poles is not beautiful.

Sample Input 3

3 2 1

Sample Output 3

YES

Since 1-2 = 2-3, this arrangement of poles is beautiful.



Sample input:
2 4 6


Sample output:
YES

Submission status: Accepted

Solution code:
n = map(int, raw_input().split())

if n[1]*2 == n[0] + n[2]:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a,b,c=map(int,raw_input().split())
print ["NO","YES"][b-a==c-b]

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
if a+c == 2*b:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:
a,b,c=list(map(int,input().split()))
s='YES' if b-a==c-b else 'NO'
print(s)

Submission status: Accepted

Solution code:
print 'YES' if (lambda l: l[2]-l[1] == l[1]-l[0] )([int(x) for x in raw_input().split()]) else 'NO'

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())
if a - b == b - c:
	print 'YES'
else:
	print 'NO'

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())
if b - a == c - b:
	print 'YES'
else:
	print 'NO'

Submission status: Accepted

Solution code:
a,b,c = [int(i) for i in input().split()]
print("YES" if b-a==c-b else "NO")

Submission status: Accepted

Solution code:
(a, b, c) = map(int, raw_input().strip().split())
if a - b == b - c:
    print "YES"
else:
    print "NO"

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))
if b - a == c - b:
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
print('YES') if b - a == c - b else print('NO')

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())
if b - a == c - b:
    print "YES"
else:
    print "NO"

Submission status: Accepted

Solution code:

a,b,c=input().split()
if (int(b)-int(a))==(int(c)-int(b)):
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
#ABC058A

a,b,c=map(int,raw_input().split())
x=a+c-b*2
if x:
 print 'NO'
else:
 print 'YES'

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())

if(B - A == C - B):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- conding: utf-8 -*-

raw = raw_input()
a = int(raw.split()[0])
b = int(raw.split()[1])
c = int(raw.split()[2])

if (b - a) - (c - b) == 0:
    print 'YES'
else:
    print 'NO'

Submission status: Accepted

Solution code:
a = input()
b = a.split(" ")
if int(b[1]) - int(b[0]) == int(b[2]) - int(b[1]):
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())

l = min(a,b,c)
r = max(a,b,c)
m = a+b+c-l-r

print('YES' if m-l == r-m else 'NO')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b, c = map(int, raw_input().split())

print "YES" if b - a == c - b else "NO"

Submission status: Accepted

Solution code:
from sys import stdin
a = map(int,stdin.readline().split())
a.sort()
ans = 'NO'
if a[0] + a[-1] == 2*a[1]:
 ans = 'YES'
print ans

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if b-a == c-b : print('YES')
else: print('NO')

Submission status: Accepted

Solution code:
a,b,c = [int(i) for i in input().split()]
if b-a==c-b:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:
a, b, c = input().split()
a = int(a)
b = int(b)
c = int(c)

if b - a == c - b:
    res = 'YES'
else:
    res = 'NO'
print(res)

Submission status: Accepted

Solution code:
a, b, c = input().split(" ")
if int(b) * 2 == int(a) + int(c):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
x = list(map(int,input().split()))
if x[1]-x[0]==x[2]-x[1]:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:
(a, b, c) = sorted(map(int, input().split()))
print('YES' if c - b == b - a else 'NO')

Submission status: Accepted

Solution code:
a,b,c = map(int, raw_input().split())
if b-a == c-b:
	print "YES"
else:
	print "NO"

Submission status: Accepted

Solution code:
A, B, C = map(int, raw_input().split())

mergin1=B-A
mergin2=C-B

if mergin1==mergin2:
 print 'YES'
else:
 print 'NO'

Submission status: Accepted

Solution code:
a,b,c =map(int,input().split())

if (b-a) == (c-b):
    print("YES")

else:
    print("NO")

Submission status: Accepted

Solution code:
#coding=UTF-8

mozir=input()
hyo=mozir.split(' ')

a=int(hyo[0])
b=int(hyo[1])
c=int(hyo[2])

if (a-b) == (b-c) :
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if b-a == c-b:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:
l = list(map(int, input().split()))
 
a=l[0]
b=l[1]
c=l[2]
 
A=b-a
B=c-b
 
if A==B:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())

if b-a==c-b :
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
n_vec = list(map(int, input().split()))
n1 = n_vec[0]
n2 = n_vec[1]
n3 = n_vec[2]
def abc_057_1(a,b,c):
    if b-a == c-b:
        return(print('YES'))
    else:
        return(print('NO'))
abc_057_1(n1,n2,n3)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a,b,c = map(int,input().split())

if b-a == c-b :
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a, b, c = [ int(i) for i in input().split() ]
middle = (a + c)/2
 
if b == middle:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
import sys

x = sys.stdin.readline().strip().split(" ")

if int(x[1])-int(x[0]) == int(x[2])-int(x[1]):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()


def main():
    a,b,c = LI()
    if c-b == b-a:
        return 'YES'
    return 'NO'



print(main())

Submission status: Accepted

Solution code:
a,b,c=(int(i) for i in input().split())
if b-a==c-b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# coding: utf-8

a, b, c = map(int, raw_input().split())

l = b - a
r = c - b

if l == r:
    print "YES"
else:
    print "NO"

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if b - a == c - b:
    print ('YES')
else:
    print ('NO')

Submission status: Accepted

Solution code:
a,b,c = map(int, raw_input().split())

if b-a == c-b:
    print 'YES'
else:
    print 'NO'

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if c-b == b-a:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
from __future__ import division
import io, sys, atexit, os, itertools
sys.stdout = io.BytesIO()
atexit.register(lambda: sys.__stdout__.write(sys.stdout.getvalue()))
sys.stdin = io.BytesIO(sys.stdin.read())
raw_input = lambda: sys.stdin.readline().rstrip()

a, b, c = map(int, raw_input().split())
if b-a == c-b:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:
inputs = input().split()
if int(inputs[1]) - int(inputs[0]) == int(inputs[2]) - int(inputs[1]):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
strs = input().split()
a = int(strs[0])
b = int(strs[1])
c = int(strs[2])

if b - a == c - b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

if __name__ == '__main__':
    nums = input().split()
    if int(nums[1])-int(nums[0]) == int(nums[2])-int(nums[1]):
        print('YES')
    else:
        print('NO')

Submission status: Accepted

Solution code:
import sys

def main():
    line = sys.stdin.readline()
    a, b, c = [ int(i) for i in line.split() ]
    if b - a == c - b:
        print("YES")
    else:
        print("NO")

    return 0

if __name__ == '__main__':
    sys.exit(main())

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

if (b-a)==(c-b):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-                                                

import os
import sys
import math
import numpy as np

a, b, c = map(int, input().split())
if (b - a) == (c - b):
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())


if b-a == c-b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
#!/usr/bin/env python

a,b,c=map(int,raw_input().split())

if c-b==b-a:
    print 'YES'
else:
    print 'NO'

Submission status: Accepted

Solution code:
l = input().split()

a = l[0]
b = l[1]
c = l[2]

x = int(b) - int(a)
y = int(c) - int(b)

if x == y:
	print('YES')
else:
	print('NO')

Submission status: Accepted

Solution code:
pole = input().split()
pole = list(map(int,pole))
if pole[1]-pole[0] == pole[2] - pole[1]:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a, b, c = input().split()
A, B, C = int(a), int(b), int(c)
if B-A == C-B:
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
# coding: utf-8
(a,b,c) = map(int, raw_input().split())
print "YES" if b - a == c - b else "NO"

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
if a[1] - a[0] == a[2] - a[1]:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,b,c=map(int,raw_input().split())
if(b-a==c-b):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
def main():
    a, b, c = map(int, input().split())
    x = abs(c + a) /2
    if b == x:
        print('YES')
    else:
        print('NO')

main()

Submission status: Accepted

Solution code:
abc = raw_input().split()
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])

if b - a == c - b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

def list_n():
    return [int(e) for e in input().split()]



def main(a, b, c):
    if b - a == c - b:
        return 'YES'
    else:
        return 'NO'

if __name__ == '__main__':
    a, b, c = list_n()
    print(main(a, b, c))

Submission status: Accepted

Solution code:
a,b,c = map(int,raw_input().split())

if a - b == b - c:
  print 'YES'
else:
  print 'NO'

Submission status: Accepted

Solution code:
#! -*- coding:utf-8 -*-
import math
import sys
a,b,c = map(int,input().split())
x = b - a
y = c - b
if x == y:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
#! coding: UTF-8
a,b,c = list(map(int,input().split(" ")))
if (b-a) == (c-b):
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
a = input().split()
for i in range(len(a)):
    a[i] = int(a[i])
    
if a[1] - a[0] == a[2] - a[1]:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
input_lines = str(input())
inputAry = input_lines.split(' ')

a = int(inputAry[0])
b = int(inputAry[1])
c = int(inputAry[2])

if b-a == c-b:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    a, b, c = map(int, input().split())
    print("YES" if b - a == c - b else "NO")

Submission status: Accepted

Solution code:
l = input().split()

if int(l[0]) - int(l[1]) == int(l[1]) - int(l[2]):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i in input().split()]

if (b-a) == (c-b):
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
abc = input().split()
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])
if b - a == c - b:
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
#coding:utf-8


a,b,c =map(int,raw_input().split())  # 2 3  # 二つの数字

if (b-a) == (c-b):
    print "YES"
else:
    print "NO"

Submission status: Accepted

Solution code:
a, b, c = list(map(int, input().split()))

if b - a == c - b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b, c = [int(n) for n in input().split()]
if b-a == c-b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
if a - b == b - c:
	print("YES")
else:
	print("NO")

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if (b-a) == (c-b):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
#coding:utf-8

if __name__ == "__main__":
    a, b, c = map(int, raw_input().split(" "))

    if b - a == c - b:
        print "YES"
    else:
        print "NO"

Submission status: Accepted

Solution code:
def judge(a, b, c):
	if b - a == c - b:
		return 'YES'
	else:
		return 'NO'
		
inpt = map(int, raw_input().split())

print judge(inpt[0], inpt[1], inpt[2])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys
import os
import math


a, b, c = list(map(int, input().split()))

if b - a == c - b:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())

if (b - a) == (c - b):
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
def rren(): return list(map(int, input().split()))
a,b,c = rren()

if b-a == c-b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split(" "))
if b - a == c - b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
a, b, c = map(int, input().split())
if b-a == c-b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

a,b,c = map(int,raw_input().split())

if(b-a == c-b):
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if (b - a) == (c - b):
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())

if (b-a == c-b):                                                                                                                                                                                                                                                              
    print "YES"
else:
    print "NO"

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())

if c - b == b - a:
	print "YES"
else:
	print "NO"

Submission status: Accepted

Solution code:
import sys
import math

INF = 10**9+7

stdin = sys.stdin
def na(): return map(int, stdin.readline().split())
def ns(): return stdin.readline().strip()
def nsl(): return list(stdin.readline().strip())
def ni(): return int(stdin.readline())
def nil(): return list(map(int, stdin.readline().split()))

a, b, c = nil()

if(b-a == c-b):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())

if (b - a) == (c - b):
    print "YES"
else:
    print "NO"

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split(" "))
print("YES") if b-a==c-b else print("NO)

Submission status: Runtime Error

Solution code:
a,b,c=int(input().split())
if (b-a)==(c-b):
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
a,b,c=int(input().split())
if b-a==c-b:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
#58
a,b,c=map(int,input().split())
if b-a=c-b:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
#58
a,b,c=map(int,input().split())
if b-a=c-b:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
a, b = input().split()
print('H' if (a == 'H') ^ (b == 'D') else 'D')

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input())
if b - a == c - b:
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

Solution code:
a, b, c =  = map(int,input().split())
print('YES') if a == b == c else print('NO')

Submission status: Runtime Error

Solution code:
a=list(map(int,input().split()))

if a[0]+a[2]=2*a[1]:
  print('YES')

else:
  print('NO')

Submission status: Runtime Error

Solution code:
S_list = list(map(int,input().split()))

if  (S_list[1] - S_list[0] ) / (S_list[2] - S_list[1]) == 1:
    result = "YES"
else:
    result = "NO"
print(result)

Submission status: Runtime Error

Solution code:
S_list = list(map(int,input().split()))

if  (S_list[1] - S_list[0] ) / (S_list[2] - S_list[1]) == 1:
    result = "YES"
else:
    result = "No"
print(result)

Submission status: Runtime Error

Solution code:
S_list = list(map(int,input("入力：").split()))

if  (S_list[1] - S_list[0] ) / (S_list[2] - S_list[1]) == 1:
    result = "YES"
else:
    result = "No"
print(result)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())

ba = b - a
cb = c - b

if ba == cb:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
if a-b = b-c:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input()split())
if b - a == c - b:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
if b-a=c-b:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

Solution code:
a = list(map(int, input().split()))
print("YES" if b - a == c - b else "NO")

Submission status: Runtime Error

Solution code:
n=int(input())
d=[dict() for _ in range(n)]
for i in range(n):
    for c in input():
        if c not in d[i]:
            d[i][c]=1
        else:
            d[i][c]+=1
ans=""
for i in range(26):
    mini=10**18
    for j in range(n):
        if chr(97+i) not in d[j]:
            mini=0
        else:
            mini=min(mini,d[j][chr(97+i)])
    ans+=mini*chr(97+i)
print(ans)

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
if b - a = c - b:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split());print(['NO','YES'][b-a==c-b])A

Submission status: Runtime Error

Solution code:
;

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split)
print("YES")if b-a==c-b else print("YES")

Submission status: Runtime Error

Solution code:
from collections import Counter

a,b,c = map(int,input())
if(abs(b-a)==abs(c-b)):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:

from collections import Counter
import sys
a,b,c = map(int,input())
if(abs(b-a)==abs(c-b)):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
# Hello World program in Python
from collections import Counter as cn

d = int(input())
l = []
for k in range(d):
  r = input()
   
  l.append(cn(r))

oi = l[0]

for g in range(1,d):
    oi = oi & l[g]
    
    
print("".join(sorted(oi.elements())))

Submission status: Runtime Error

Solution code:
a,b,c = int(input())
if b-c == c-a:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
a,b,c = map(int, input().split())
print('YES') if b-a==c-b 
else print ('NO')

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
if b−a==c−b:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

Solution code:
o=input()
e=input()
ans=""
for i in range(len(e)):
    ans+=o[i]
    ans+=e[i]
if len(o)!=len(e):
    ans+=o[len(o)-1]
print(ans)

Submission status: Runtime Error

Solution code:
if b - a = c - b:
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

Solution code:
if(b - a == c - b):
print(YES)
else:
print(NO)

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
print("YES" b-a==c-a else "NO")

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
print("YES" b-a=c-a else "NO")

Submission status: Runtime Error

Solution code:
a, b, c = map(int, nput().split())
if b - a == c - b:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
a, b, c = input().split()

if b-a == c - b:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().sploit())

print('YES' if b-a==c-b else 'NO')

Submission status: Runtime Error

Solution code:
a=sorted[int(i) for i in input().split()]
if a[1]-a[0]==a[2]-a[1]:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
A,B,C = list(map(int,input().split()))
if abs(A-B) == abs(B-C):
	print("YES")
    exit()
else:
	print("NO")
    exit()

Submission status: Runtime Error

Solution code:
a,b,c =map(int, input().split())
if a+c=2*b:
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
if b-c==c=b:
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input.split())
print("YES" if b-a == c-b else "NO")

Submission status: Runtime Error

Solution code:
a, b, c = map(int,input().split())

d = b - c
e = a - b

if d = e:
  print("Yes")

else:
  print("No")

Submission status: Runtime Error

Solution code:
n=2
string_list=[input() for i in range(n)]

a = string_list[0]
b = string_list[1]

def big(a,b):
    if a > b:
        return a
    else:
        return b

def plus(a,b):
    c = a[i]
    d = b[i]
    return c+d

e = ""
for i in range(len(big(a,b))):
    e += plus(a,b)

print(e)

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
print("YES" if b - a=c - b else "NO")

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
if a+c = b+b:
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
r = 'YES' if b - a == c - b else 'N

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
if 2*b = a+c:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

Solution code:
import string

n = int(input())
s = []
for _ in range(n):
    s.append(input())

az = string.ascii_lowercase
counts = {}
 
for v in az:

    counts[v] = float("inf")
    for i in range(n):
        counts[v] = min(counts[v], s[i].count(v))
 

ans = ""
for k, v in sorted(counts.items()):
    ans += k*v
print(ans)

Submission status: Runtime Error

Solution code:
a,b,c=list(map(int,input().split()))
if b-a==c-b:print(YES)
else:print(NO)

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
print("YES" if (b-a==c-b) else "NO)

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=input()
if b-a==c-b:
  print "YES"
else:
  print"NO"

Submission status: Runtime Error

Solution code:
a,b,c = map(int,raw_input().split())
if b-a==c-b:
  print "YES"
else:
  ptint"NO"

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=input()
if b-a==c-b:
  print "YES"
else:
  ptint"NO"

Submission status: Runtime Error

Solution code:
a,b,c=map(int,raw_input().split())
if b-a==c-b:
  print "YES"
else:
  ptint"NO"

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input(input().split()))
print('YES' if b-a==c-b else 'NO')

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
if b - a == c - b:
    print('YES')
else: prin('NO')

Submission status: Runtime Error

Solution code:
import math
h,w = map(int,input().split())
if h==1 or w==1:
  print(1)
else:
  nos = math.ceil(w/2)*math.ceil(h/2) + math.floor(w/2)*math.floor(h/2)
  print(nos)

Submission status: Runtime Error

Solution code:
a=int(input(""))
b=int(input(""))
c=int(input(""))
if(b-a==c-b):
    print("Yes")
    print('Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.')
elif(c-b==b-a):
    print("Yes")
    print('Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.')
else:
    print("NO")
    print('Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.')

Submission status: Runtime Error

Solution code:
a=int(input("Enter the height a in meters="))
b=int(input("Enter the height b in meters="))
c=int(input("Enter the height c in meters="))
if(1<=a and 1<=b and 1<=c and a<=100 and b<=100 and c<=100):
    if(b-a==c-b):
        print("Yes")
    elif(c-b==b-a):
        print("Yes")
    else:
        print("NO")

Submission status: Runtime Error

Solution code:
a=int(input("Enter the height a in meters="))
b=int(input("Enter the height b in meters="))
c=int(input("Enter the height c in meters="))
if(1<=a and 1<=b and 1<=c and a<=100 and b<=100 and c<=100):
    if(b-a==c-b):
        print("Yes")
        print('Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.')
    elif(c-b==b-a):
        print("Yes")
        print('Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.')
    else:
        print("NO")
        print('Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.')

Submission status: Runtime Error

Solution code:
for i in range(1,100):
    a=int(raw_input("Enter the height a in meters="))
    b=int(raw_input("Enter the height b in meters="))
    c=int(raw_input("Enter the height c in meters="))
    if b-a==c-b:
        print 'Yes'
        print'Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.'
    elif c-b==b-a:
        print 'Yes'
        print'Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.'
    else:
        print 'NO'
        print'Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.'

Submission status: Runtime Error

Solution code:
a=int(input("Enter a"))
b=int(input("Enter b"))
c=int(input("Enter c"))
if a-b == b-c || b-a == c-b:
 print("Beautiful")
else:
 print("No")

Submission status: Runtime Error

Solution code:
for i in range(1,100):
    a=int(input("Enter the height a in meters="))
    b=int(input("Enter the height b in meters="))
    c=int(input("Enter the height c in meters="))
    if(b-a==c-b):
        print("Yes")
        print('Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.')
    elif(c-b==b-a):
        print("Yes")
        print('Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.')
    else:
        print("NO")
        print('Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.')

Submission status: Runtime Error

Solution code:
a=int(input("Enter a"))
b=int(input("Enter b"))
c=int(input("Enter c"))
if a-b == b-c || b-a == c-b:
 print(Beautiful")
else:
 print("No")

Submission status: Runtime Error

Solution code:
a=int(input("Enter a number")
b=int(input("Enter b")
c=(int(input("Enter C")
if a-b == b-c || b-a == c-b:
 print ("Beautiful")
else :
 print("No")

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=input()

if b<a and b<c:
 print("No")
elif b-a==c-b:
 print("Yes")

Submission status: Runtime Error

Solution code:
import math
a, b, c = input().split()
d = math.fabs(b-a)
e = math.fabs(c-b)
if d == e:
 print('YES')
else:
 print('NO')

Submission status: Runtime Error

Solution code:
import math
a, b, c = input().split()
d = math.fabs(b-a)
e = math.fabs(c-a)
if d == e:
 print('YES')
else:
 print('NO')

Submission status: Runtime Error

Solution code:
import math
def beautiful:
     a, b, c = input().split()
     d = math.fabs(b-a)
     e = math.fabs(c-b)
      if  d == e:
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
print("1<=a,b,c<=100\n\n")
print("a,b and c are integer\n\n")
a=int(input("Enter 1st pole heights::- "))
b=int(input("Enter 2nd pole heights:- "))
c=int(input("Enter 3rd pole heights:- "))
if(b-a==c-b):
        print("This arrangement of pole is beautiful")
else:
        print("This arrangement of poles is not beautiful")

Submission status: Runtime Error

Solution code:
def beautiful:
     a, b, c = input().split()
      if fabs(b-a) == fabs(c-b):
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
def beautiful:
     a,b,c = input().split()
      if fabs(b-a) == fabs(c-b):
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
import math
def beautiful:
     a,b,c = input().split()
      if fabs(b-a)) == fabs(c-b):
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
def beautiful:
     a,b,c = input().split()
      if abs(b-a) == abs(c-b):
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
def beautiful:
     a,b,c = input().split()
      if ((abs(b-a)) == (abs(c-b))):
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
def beautiful:
      a,b,c = int(input()).split()
      if ((abs(b-a)) == (abs(c-b))):
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
def beautiful:
      a = int(input())
      b = int(input())
      c = int(input())
      if abs(b-a) == abs(c-b):
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=int(input())
if(abs(a-b)==abs(b-c)):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
def beautiful:
      a = int(input())
      b = int(input())
      c = int(input())
      if ((abs(b-a)) == (abs(c-b))):
            print('YES')
      else:
            print('NO')

beautiful()

Submission status: Runtime Error

Solution code:
if b-a == c-b:
  print('YES')
  if b-a != c-b:
    print('NO')

Submission status: Runtime Error

Solution code:
if b-a == c-b:
  print('YES')
  if b-a =! c-b:
    print('NO')

Submission status: Runtime Error

Solution code:
if a-b == b-c:
  print('YES')
if a-b =! b-c:
  print('NO')

Submission status: Runtime Error

Solution code:
if b-a = c-b:
  print('YES')
  else:
    print('NO')