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: Runtime Error

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

Submission status: Runtime Error

Solution code:

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

Submission status: Runtime Error

Solution code:
a,b,c = (int(x) for x in 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(sorted(B)[0])
if b-a==c-b:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
A,B,C=map(str,input().split())
#print(sorted(B)[0])
if b-a==c-b:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
o = list(input())
e = list(input())
for x,y in zip(o,e) :print(x+y,end = "")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
def ntukusi(a,b,c):
    ans = "YES" if b - a = c - b else "NO"
    return ans

def main():
    a , b , c = map(int, input().split())
    print(ntukusi(a , b , c))

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
def ntukusi(a,b,c):
    return "YES" if b - a = c - b else "NO"

def main():
    a , b , c = map(int, input().split())
    print(ntukusi(a , b , c))

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
a = list(input())
b = list(input())+[""]
for c,d in zip(a,b):
  print(c+d,end="")

Submission status: Runtime Error

Solution code:
a,b,c = map(int,unput().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, 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())
print("Yes" if b-a=c-b else "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().aplit())
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:
import sys
input = sys.stdin.readline
a, b, c = input().split()
if b - a == c - b:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
    int c=sc.nextInt();
    int bc=b-c;
    int cb=c-b;
    if(bc==cb) {
      System.out.println("YES");
    } else {
      System.out.println("NO");
    }
  }
}

Submission status: Runtime Error

Solution code:
i=int(input('entt1: '))
j=int(input('ente2: '))
k=int(input('enter:3 '))

if (j-i==k-j):
    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())
print('YES' if b-a==c-b else 'NO)

Submission status: Runtime Error

Solution code:
a, b, c = list(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:
    print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
O = input()
O_2 = list(O)
OLEN = len(O)

E = input()
E_2 = list(E)
ELEN = len(E)

ans = []

if ELEN >= OLEN:
    N = ELEN
else:
    N = OLEN



if OLEN == ELEN:
    for i in range(N):
        ans.append(O_2[i])
        ans.append(E_2[i])

elif OLEN  != ELEN:
    
    for i in range(N):
        if len(ans) == ((OLEN) + (ELEN) -1):
            if OLEN > ELEN:
                ans.append(O_2[-1])
            else:
                ans.append(E_2[-1])
            break
        ans.append(O_2[i])
        ans.append(E_2[i])


for i in ans:
  print(i,end="")

Submission status: Runtime Error

Solution code:
O = input()
O_2 = list(O)
OLEN = len(O)

E = input()
E_2 = list(E)
ELEN = len(E)

ans = []

if ELEN >= OLEN:
    N = ELEN
else:
    N = OLEN



if OLEN == ELEN:
    for i in range(N):
        ans.append(O_2[i])
        ans.append(E_2[i])

elif OLEN  != ELEN:
    
    for i in range(N):
        if len(ans) == ((OLEN) + (ELEN) -1):
            if OLEN > ELEN:
                ans.append(O_2[-1])
            else:
                ans.append(E_2[-1])
            break
        ans.append(O_2[i])
        ans.append(E_2[i])


print(ans)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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())
 if b - a == c - b:
     print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c;cin>>a>>b>>c;
	if(b-a==c-b)cout<<"YES";
	else cout<<"NO";
	return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N,T = map(int,input().split())
A = list(map(int,input().split()))
tot = 0
for i in range(1,N):
    d = A[i]-A[i-1]
    if d>T:
        tot += T
    else:
        tot += d
print(tot+T)

Submission status: Runtime Error

Solution code:
o=list(input())
e=list(input())+[""]
result="".join([x+y for x,y in zip(o,e)])
print(result)

Submission status: Runtime Error

Solution code:
o = input()
e = input()
list = []
for i in range(len(o)-1):
  list.append(o[i] + e[i])
  
if len(e) == len(o):
  list.append(o[len(o)] + e[len(e)])
else:
  list.append(o[len(o)])
  
 
print(*list, sep='')

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,b,c=map(int, input().count())
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().split())

if b − a == c − b:
  print('YES')

else:
  print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
O = input()
E = input()
s = ''
for i in range(len(O)):
  s+=O[i]
  s+=E[i]
print(s)

Submission status: Runtime Error

Solution code:
MOD = 10 ** 9 + 7
n, m = map(int, input().split())
x = list(map(int, input().split()))
y = list(map(int, input().split()))

# 前計算
for i in range(n - 1):
    x[i] = x[i + 1] - x[i]

for i in range(m - 1):
    y[i] = y[i + 1] - y[i]

N = [n - 1]
for i in range(n - 3, 0, -2):
    N.append(N[-1] + i)
    # N.append((N[i] + (n - 1 - 2 * (i + 1))) % MOD)

M = [m - 1]
for i in range(m - 3, 0, -2):
    M.append(M[-1] + i)
    # M.append((M[i] + (m - 1- 2 * (i + 1))) % MOD)

if N[0] % 2 == 0:
    N += N[::-1]
elif N[0] != 1:
    N += N[1::-1]

if M[0] % 2 == 0:
    M += M[::-1]
elif M[0] != 1:
    M += M[1::-1]

# print (x)
# print (y)
# print (N)
# print (M)

if len(x) - 1 > len(N):
    while True:
        pass

if len(y) - 1 > len(M):
    while True:
        pass


X_sum = 0
for i in range(n - 1):
    X_sum += x[i] * N[i]
    X_sum %= MOD

Y_sum = 0
for i in range(m - 1):
    Y_sum += y[i] * M[i]
    Y_sum %= MOD

print ((X_sum * Y_sum) % MOD)

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,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())
print('YES' if a - 2b + c == 0 else '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())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = list(input())
y = list(input())+[""]

for o,p in zip(x,y):print(o+p,end="")

Submission status: Runtime Error

Solution code:
x = list(input())
y = list(input())+[""]

print(y)
for o,p in zip(x,y):print(o+p,end="")

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 = list(map(int, input().split()))
if b−a==c−b:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
o = input()
e = input()

for x,y in zip(o, e):
  print(x+y,end="")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input()
b = input()
if len(a)-len(b)==0:
  s = "".join(i+j for i, j in zip(a,b))
  print(s)
else:
  s = "".join(i+j for i, j in zip(a,b))
  s = "".join(a[-1])
  print(s)

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>

using namespace std;

using ll = long long;
using vi = vector<int>;
using vll = vector<ll>;
using vvi = vector<vector<int>>;
using vvl = vector<vector<ll>>;

int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int a, b, c;
  cin >> a >> b >> c;
  if (b - a == c - b) cout << "YES" << endl;
  else cout << "NO" << endl;
  return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
o = input()
e = input()
print(*[a + b for a, b in zip(o, e)], o[-1] * (len(o + e) % 2), sep='')

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=input()
b=input()
c=input()
if a<b and b<c:
  answer="Yes"
elif b<a or c<b:
  answer="No"

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;

int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (b - a == c - b) {
    cout << "YES" << endl;
    return 0;
  } else {
    cout << "NO" << endl;
    return 0;
  }
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from collections import Counter
n = int(input())
data = [k for k in input()]

ans = Counter(data)
for i in range(n-1):
  tmp = Counter([k for k in input()])
  for j in set(data):
    ans[j] = min(ans[j], tmp[j])
#    print(j, ans[j], tmp[j], min(ans[j], tmp[j]))
ans_list = list(set(list(ans.elements())))
ans_list.sort()
answer = ""
for i in ans_list:
  answer += i*ans[i]
print(answer)

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 =  [ int(v) for v in input().split() ]

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

Submission status: Runtime Error

Solution code:
odd = input()
even =input()
even = str(0)+even
odd_list = []
even_list = []

for (a,b) in zip(odd,even):
    odd_list.append(a)
    even_list.append(b)
even_list.append("")
del even_list[0]

for i in range(len(odd_list)):
    print(odd_list[i],end = "")
    print(even_list[i],end = "")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math

mod = 10**9+7

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=input().split()
a1=int(a)
b1=int(b)
c1=int(c)
d=b1-a1
e=c1-b1
if d==e:
	print('YES')
else :
	print('NO')a,b,c=input().split()

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 = input().split()
if b-a==c-b:
    print("YES")
else:
    print("NO")

Submission status: Runtime Error

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

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())
 if a+c==2*b:
  print(Yes)
  else:
  print(No)

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()))
print((a+c==2*b?Yes:No))

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=int(input())
if a+c==2*b:
  print(Yes)
else:
  print(No)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=int(input())
if a+c==b:
  print(Yes)
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:
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:
a=list(map(int,input().split()))
print((a[0]+a[2]=2*a[1]?Yes:No))

Submission status: Runtime Error

Solution code:
# -*- coding utf-8 -*-
o=list(str(input()))
e=list(str(input()))
ans=[]

for i in range(len(o)):
    ans+=o[i:i+1]
    ans+=e[i:i+1]

print(''.join(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())
if (b − a == c − b):
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

Solution code:
list_o=list(input());
list_e=list(input());

for a,b in zip(list_o,list_e):print(a + b,end="");

Submission status: Runtime Error

Solution code:
a, b, c = map(int,input().split())
if b-a == c-b:
  print("YES")
else:
  plint("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(str, input().split())
if b - a == c - b:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
x,y,z=map(str,input().split(' '))
if y-x==z-y:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,c = [int(x) for x in 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:
o,e = map(str, raw_input().split())
s = ""
for i in range(len(o)):
	s += o[i]+e[i]
print s

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
if b - a == c - b:
  print("YES")
else:
  pront("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())
print("YES" if b-a == c-b else "NO)

Submission status: Runtime Error

Solution code:
print('YES' if (lambda poles=input().split(): True if (int(poles[1])-input(poles[0]))==(int(poles[2])-input(poles[1])) else False)() else 'NO')

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())
if b-a==c-b:
  print("YES")
else:
  print("NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=input().strip().splt(" ")

b=[int(i) for i in a]

if(b[1]-b[0]==b[2]-b[1]):
    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:
num = list(map(int, input().split()))
if(num[1]-num[0] = num[2]-num[1]):
    print('Yes')
else
    print('No')

Submission status: Runtime Error

Solution code:
num = list(map(int, input().split()))
if(b-a = c-b):
print('Yes')

a = num[0] + num[1]
print(int(a/24))

Submission status: Runtime Error

Solution code:
print("YES" if int(input())-2*int(input())+int(input()) == 0 else "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 = list(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:
    pritn("NO")

Submission status: Runtime Error

Solution code:

print("ABC" if int(input()) < 1000 else "ABD")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s1 = raw_input()
s2 = raw_input()
ans = ''
for i in range(min(len(s1), len(s2))):
    ans += s1[i] + s2[i]
if len(s2) < len(s1):
    ans += s1[-1]
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("YES" if b-a=c-b else "NO")

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
if c-b and b-a:
    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:
xs = map(int, input().split())

if xs[1] - xs[0] and xs[2] - xs[1]:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
print(lambda x: "YES" if (x == sorted(x) or x == sorted(x)[::-1]) else "NO")(map(int, input().split())))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
O=str(input())
E=str(input())
m=max(len(O),len(E))
for i in range(m):
 if (i<len(O)):
  print (O[i], end=" ")
 if (i<len(E)):
  print(E[i], end=" ")

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()
X = ""

for i in range(len(E)):
    X += (O[i] + E[i])

if len(O) != len(E):
    X += O[-1]
    
print(X)

Submission status: Runtime Error

Solution code:
(A, B, C) = [int(x) for x in input().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 = input()
b = input()
i = 0
for i in range(len(a)):
    print(a[i], end = '')
    if i == len(b):
        break
    print(b[i], end = '')

Submission status: Runtime Error

Solution code:
a = input()
b = input()
n = len(b)
x = 0
i = 0
j = 0
while (x < n * 2):
    if x % 2:
        print(b[i], end = '')
        i += 1
    else:
        print(a[j], end = '')
        j += 1
    x += 1
print('')

Submission status: Runtime Error

Solution code:
str1= input().split()
str2= input().split()

for a,b in zip(str1, str2):
    str3 = str3 + a + b

print (str3)

Submission status: Runtime Error

Solution code:
O=[]
O= input().split()
LO=int(len(O))
E= input().split()
LE=len(E)

flist=[]

for i in range(LO):
    if i>LE:
        a=O[i]
        flist.append(a)
    else:
        a=O[i]+E[i]
        flist.append(a)

print(''.join(flist))

Submission status: Runtime Error

Solution code:
O=[]
O= input().split()
LO=int(len(O))
E= input().split()
LE=len(E)

flist=[]

for i in range(LO):
    if i>LE:
        a=O[i]
        flist.append(a)
    else:
        a=O[i]+E[i]
        flist.append(a)
b=join.flist
print(b)

Submission status: Runtime Error

Solution code:
so=input()
se=input()
sol=list(so)
sel=list(se)
i=0
while i<len(sol) or i<len(sel):
    s.append(sol[i])
    s.append(sel[i])
    i=i+1
print "".join(s)

Submission status: Runtime Error

Solution code:
n = int(input())
S=[]
for i in range(n):
    S.append(input())

ans = []
#チェックする文字をS[0]から取得
for i in S[0]:
    #すべてのSについてチェックする文字の存在判定
    hantei=[]
    for j in range(1,n):
        hantei.append(S[j].find(i)) #存在する位置をリストに追加
    if min(hantei) >= 0: ans.append(i)

#辞書順にする
ans.sort()
#文字列にする
ans2 = ''.join(ans)
print(ans2)

Submission status: Runtime Error

Solution code:
a=input();b=input();r=[];l=len(lb)
for i in range(l):
    r.append(a[i]); r.append(b[i])
if l != len(b):
    r.append(a[-1])
print(''.join(r))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
kis = input()
gus = input()
a = len(kis)
b = len(gus)
c = ""
if a == b:
 for i in range(a) :
  c += kis[i] + gus[i]
else:
  for i in range(b): 
   c += kis[i] + gus[i]
  c += kis[a-1]

print(c)

Submission status: Runtime Error

Solution code:
O = list(input())
E = list(input())
s = ''
while O or E:
    if len(E) >= len(O):
        s = E.pop() + s
    else:
        s = O.pop() + s
print(s)

Submission status: Runtime Error

Solution code:
import sys
 
def solve():
    O = input()
    E = input() + '#'
 
    ans = [c1 + c2 for c1, c2 in zip(O, E)]
    ans = ''.join(ans).rstrip('#')
 
    print(ans)
 
if __name__ == '__main__':
    solve()

Submission status: Runtime Error

Solution code:
print(''.join((a + b for a, b in zip(input(), input()+'\n'))).split('\n')[0])

Submission status: Runtime Error

Solution code:
print(''.join((a + b for a, b in zip(input(), input()+'\n'))).splitlines()[0])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=input()
b=input()
s=[]
if len(a)==len(b):
    for i in range(len(a)):
        s.append(a[i])
        s.append(b[i])
else:
    for i in range(len(b)):
        s.append(a[i])
        s.append(b[i])
    s.append(a[-1])
print("".join(s))

Submission status: Runtime Error

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



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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

if a-b=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:
if a-b=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, 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, 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, raw_input().split())
2.2.if (b-a) == (c-b):
3.3.    print("YES")
4.4.else:
5.5.    print("NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b, c = map(int, raw_input().split())
if (b-a) or (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, b, c = map(int, input().split().split())
if  b−a == c−b:
  print ("YES")
else:
  print ("NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

for _a, _b in zip(a, b):
    print(_a, _b, sep='', end='')
if len(a) > len(b):
    print(a[-1])

Submission status: Runtime Error

Solution code:
numbers = map(int, input().split(' '))
if numbers[2] - numbers[1] == numbers[1] - numbers[0]:
    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:
o = input()
e = input()
r = ''
for i in range(len(o)):
  r += o[i]
  if i < len(e):
    r += e[i]
print(r)

Submission status: Runtime Error

Solution code:
#すぬけ君は新しくできたプログラミングコンテストに会員登録しました。 登録に使ったパスワードを覚えておく自信が無かったすぬけ君は、 手元の紙にパスワードをメモしておくことにしました。 ただし、そのままメモをすると誰かにパスワードを盗まれてしまうかもしれないので、 文字列の偶数番目の文字と奇数番目の文字をそれぞれ別々の紙にメモしておくことにしました。
#パスワードの奇数番目の文字だけを順番を変えずに取り出した文字列 O と、 偶数番目の文字だけを順番を変えずに取り出した文字列 E が与えられます。 すぬけ君のかわりにパスワードを復元してください。
o = input()
e = input()
r = ''
for i in range(len(o)):
  r += o[i]
  if i < len(e):
    r += e[i]
print(r)

Submission status: Runtime Error

Solution code:
left = b-a
right = c-b
if left == right:
    return True
else:
    return False

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=[]
for i in range(3):
	a.append(int(input()))
a.sort()
if a[2]-a[1]==a[1]-a[0]:
	print('YES')
else:
	print('NO')

Submission status: Runtime Error

Solution code:
a[]
for i in range(3):
	a.append(input())
a.sort()
if a[2]-a[1]==a[1]-a[0]:
	print('YES')
else:
	print('NO')

Submission status: Runtime Error

Solution code:
a=[]
a.append(input())
a.sort()
if a[2]-a[1]==a[1]-a[0]:
	print('YES')
else:
	print('NO')

Submission status: Runtime Error

Solution code:
a=[]
a.append(input())
a.sort()
if l[2]-l[1]==l[1]-l[0]:
	print('YES')
else:
	print('NO')

Submission status: Runtime Error

Solution code:
l=map(int,raw_input().split())
l.sort()
if l[2]-l[1]==l[1]-l[0]:
	print('YES')
else:
	print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,c=input(),input(),input()
print ["NO","YES"][b-a==c-b]