qyliang/CodeNanoFix huggingface dataset:
Buggy code:
def ri(): return int(input())
def rli(): return list(map(int, input().split()))
def rls(): return list(input())
def pli(a): return "".join(list(map(str, a)))
def plis(a): return " ".join(list(map(str, a)))


s = input()
ans = 0
s_nox = s.replace('x', '')
if(s_nox != s_nox[::-1]): ans = -1
else:
    need = (len(s_nox)+1) // 2
    s = list(s)
    s_rev = s[::-1]
    si = 0
    srevi = 0
    si_tmp = -1
    srevi_tmp = -1
    for i in range(need):        
        si_tmp = 0
        srevi_tmp = 0
        while(s[si] == 'x'):
            si += 1
            si_tmp += 1
        while(s_rev[srevi] == 'x'):
            srevi += 1
            srevi_tmp += 1
        print(s[si], ans)
        ans += abs(si_tmp - srevi_tmp)
        si += 1
        srevi += 1
print(ans)



Fixed code:
def ri(): return int(input())
def rli(): return list(map(int, input().split()))
def rls(): return list(input())
def pli(a): return "".join(list(map(str, a)))
def plis(a): return " ".join(list(map(str, a)))


s = input()
ans = 0
s_nox = s.replace('x', '')
if(s_nox != s_nox[::-1]): ans = -1
else:
    need = (len(s_nox)+1) // 2
    s = list(s)
    s_rev = s[::-1]
    si = 0
    srevi = 0
    si_tmp = -1
    srevi_tmp = -1
    for i in range(need):
        si_tmp = 0
        srevi_tmp = 0
        while(s[si] == 'x'):
            si += 1
            si_tmp += 1
        while(s_rev[srevi] == 'x'):
            srevi += 1
            srevi_tmp += 1
        ans += abs(si_tmp - srevi_tmp)
        si += 1
        srevi += 1
print(ans)
Buggy code:
s = input()

s_wo_x = s.replace("x", "")
for i in range(len(s_wo_x)//2):
    if s_wo_x[i] != s_wo_x[-i]:
        print("-1")
        break
else:
    i = 0
    j = len(s)-1
    ans = 0
    while(i < j):
        if s[i] == "x" and s[j] != "x":
            i += 1
            ans += 1
        elif s[i] != "x" and s[j] == "x":
            j -= 1
            ans += 1
        elif s[i] == s[j]:
            i += 1
            j -= 1
            
    print(ans)

Fixed code:
s = input()

s_wo_x = s.replace("x", "")
for i in range(len(s_wo_x)):
    if s_wo_x[i] != s_wo_x[len(s_wo_x)-i-1]:
        print("-1")
        break
else:
    i = 0
    j = len(s)-1
    ans = 0
    while(i < j):
        if s[i] == "x" and s[j] != "x":
            i += 1
            ans += 1
        elif s[i] != "x" and s[j] == "x":
            j -= 1
            ans += 1
        elif s[i] == s[j]:
            i += 1
            j -= 1
            
    print(ans)
Buggy code:
a, b = map(int, input().split())

print(a ^ b ^ c)


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

print(a ^ b ^ c)
Buggy code:
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper

a, b, c = inl()
if a == b:
    print(c)
elif a ==c:
    print(b)
else:print(b)
          

Fixed code:
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper

a, b, c = inl()
if a == b:
    print(c)
elif a ==c:
    print(b)
else:print(a)
Buggy code:
a = list(map(int, input().split()))
if a[0] == a[1]:
    print(a[3])
elif a[0] == a[2]:
    print(a[1])
elif a[1] == a[2]:
    print(a[0])


Fixed code:
a = list(map(int, input().split()))
if a[0] == a[1]:
    print(a[2])
elif a[0] == a[2]:
    print(a[1])
elif a[1] == a[2]:
    print(a[0])
Buggy code:
if __name__ = '__main__':
  A, B, C = map(int, input().split())
  if A == B:
    print(C)
  elif A == C:
    print(B)
  else:
    print(A)

Fixed code:
if __name__ == '__main__':
  A, B, C = map(int, input().split())
  if A == B:
    print(C)
  elif A == C:
    print(B)
  else:
    print(A)
Buggy code:
a,b,c=map(int,input().split())
if a==b:
  print(c)
if b==c:
  print(a)
else:
  print(b)

Fixed code:
a,b,c = map(int,input().split())
if a == b:
    print(c)
else:
    print(a if b == c else b)
Buggy code:
al=list(map(int,input.split()))
al.sort()
print(sum(al)-al[1]*2)

Fixed code:
al=list(map(int,input().split()))
al.sort()
print(sum(al)-al[1]*2)
Buggy code:
a,b,c = map(int,input.split())

if a == b:
    print(c)
elif a == c:
    print(b) 
else:
    print(a)
           

Fixed code:
a , b , c= map(int , input().split())
if a==b:
	print(c)
elif a==c:
	print(b)
elif b==c:
	print(a)
Buggy code:
# coding: utf-8
# Here your code !
a,b,c=[int(x) for x in input().split()]
if a==b:
    print(c)
elif b==c:
    print(a)
else:
    print(a)


Fixed code:
# coding: utf-8
# Here your code !
a,b,c=[int(x) for x in input().split()]
if a==b:
    print(c)
elif b==c:
    print(a)
else:
    print(b)
Buggy code:
a,b,c=map(int,input().split())
print(c if a==b else b if a==c else a if b==c)

Fixed code:
a,b,c=map(int,input().split())
print(c if a==b else b if a==c else a)
Buggy code:
a, b, c = input().split()
if a == b:
  print(c)
else:
  if a == c:
    print(b)
  else:
    print(c)

Fixed code:
a, b, c = input().split()
if a == b:
  print(c)
else:
  if a == c:
    print(b)
  else:
    print(a)
Buggy code:
a=list(map(int,input().split()))
if a[0] == a[1]:
	print(a[2])
else:
	if a[0] == a[2]:
		print(a[1])
	else:
		ptint(a[0])

Fixed code:
a=list(map(int,input().split()))
if a[0] == a[1]:
	print(a[2])
else:
	if a[0] == a[2]:
		print(a[1])
	else:
		print(a[0])
Buggy code:
A,B,C = map(int,input().split())
if A == B:
  print(C)
 elif B == C:
  print(A)
 else:
  print(B)

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

if A == B:
 	print(C)
elif B == C:
 	print(A)
else:
    print(B)
Buggy code:
a,b,c = map(int,input().split())
if a == b:
    print(c)
if a == c:
    print(b)
else:
    print(a)

Fixed code:
a, b, c = map(int, input().split())
if a==b:
    print(c)
elif a==c:
    print(b)
else:
    print(a)
Buggy code:
a = list(map(int,input().split()))
 
for i in a:
  if a.count(i) > 1:
    print(i)
    break

Fixed code:
a = list(map(int,input().split()))
 
for i in a:
  if a.count(i) <= 1:
    print(i)
    break
Buggy code:
l = list(map(int, input().split()))

if l[0]==l[1]:
  print(l[2])
else:
  print(l[0])

Fixed code:
l = list(map(int, input().split()))
l.sort()

if l[0]==l[1]:
  print(l[2])
else:
  print(l[0])
Buggy code:
def getlist():
    a = input().split()
    b = [int(i) for i in a]
    return b

a,b,c = getlist()
print(a)


Fixed code:
def getlist():
    a = input().split()
    b = [int(i) for i in a]
    return b

a,b,c = getlist()
if a == b:
    print(c)
if b == c:
    print(a)
if a == c:
    print(b)
Buggy code:
a,  b, c = map(int,input().split())
if a == b:
  print(a)
if b == c:
  print(b)
if a ==c:
  print(c)

Fixed code:
a, b, c =map(int, input().split())
if a == b:
	print(c)
else:
	if a == c:
		print(b)
	else:
		print(a)
Buggy code:
abc = [int(i) for i in input().split()]
if abc[0] == abc[1]:
    print(abc[0])
else:
    print((set(abc[:2]) & set([abc[2]])).pop())

Fixed code:
abc = [int(i) for i in input().split()]
if abc[0] == abc[1]:
    print(abc[2])
else:
    print((set(abc[:2]) - (set(abc[:2]) & set([abc[2]]))).pop())
Buggy code:
a, b, c = [int(i) for i in input().splt()]

if a == b:
  print(c)
elif b == c:
  print(a)
else:
  print(b)

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

if a == b:
  print(c)
elif b == c:
  print(a)
else:
  print(b)
Buggy code:
l = input().split()
for i in range(3):
  if l[i].count() == 1:
    print(l[i])

Fixed code:
l = input().split()
for i in range(3):
  if l.count(l[i]) == 1:
    print(l[i])
Buggy code:
A,B,C = map(int,input().split())

print(A if B == C else B if A == C else B)

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

print(A if B == C else B if A == C else C)
Buggy code:
List = list(map(int, input().split()))
res = 0
for i in range(3):
  for j in range(i,3):
    if List[i] == List[j]:
      res = 6 - i+1 -j+1
print(List[res])

Fixed code:
List = list(map(int, input().split()))
res = 0
for i in range(2):
  for j in range(i+1,3):
    if List[i] == List[j]:
      res = 3 - i - j
print(List[res])
Buggy code:
ary = map(int, input().split())
if ary[0] == ary[1]:
    print(ary[2])
elif ary[0] == ary[2]:
    print(ary[1])
else:
    print(ary[0])

Fixed code:
ary =list( map(int, input().split()))
if ary[0] == ary[1]:
    print(ary[2])
elif ary[0] == ary[2]:
    print(ary[1])
else:
    print(ary[0])
Buggy code:
A, B, C = map(int, input().split())
print(A if A == B else B if B == C else C)

Fixed code:
A, B, C = map(int, input().split())
print(C if A == B else A if B == C else B)
Buggy code:
a,b,c=map(int,input().split(" "))
if a == b:
  print(c)
elif a == c:
  print(b)
else:
  print(c)

Fixed code:
a,b,c=map(int,input().split(" "))
if a == b:
  print(c)
elif a == c:
  print(b)
else:
  print(a)
Buggy code:
#coding:utf-8
n=[int(i) for i in input().split()]
if(n.count(n[0]==1)):
  print(n[0])
else:
  if(n.count(n[1]==1)):
    print(n[1])
  else:
    print(n[2])

Fixed code:
#coding:utf-8
n=[int(i) for i in input().split()]
if(n.count(n[0])==1):
  print(n[0])
elif(n.count(n[1])==1):
  print(n[1])
else:
  print(n[2])
Buggy code:
a,b,c = map(int, input().split())

if a=b:
	print(c)
if a=c:
	print(b)
else:
	print(a)

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

if a==b:
	print(c)
elif a==c:
	print(b)
else:
	print(a)
Buggy code:
a,b,c = map(int, input().split())
 
if a==b:
	print(c)
if a==c:
	print(b)
else:
	print(a)
a,b,c = map(int, input().split())

if a==b:
	print(c)
elif a==c:
	print(b)
else:
	print(a)


Fixed code:
a, b, c = list(map(int, input().split()))
if(a == b):
    print(c)
elif(b == c):
    print(a)
else:
    print(b)
Buggy code:
a, b, c = map(int, input().split())
print(b) if a == c else print(a)

Fixed code:
a, b, c = map(int, input().split())
print(b) if a == c else print(c) if a == b else print(a)
Buggy code:
a, b, c=map(int,input().split())
if a<b:
  print(a)
elif a==b:
  print(c)
else:
  print(b)

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

if b == c:
  print(a)
elif a == c:
  print(b)
else:
  print(c)
Buggy code:
A, B, C = list(map(int, input().split()))

if A == B:
    print(C)
elif A == C
    print(B)
else:
    print(A)

Fixed code:
A,B,C = map(int,input().split())
if (A == B):
  print(C)
elif(A == C):
  print(B)
else:
  print(A)
Buggy code:
#!/usr/bin/env python

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

if a == b:
    print(c)
elif b == c:
    print(a)
elif c == a:
    print(b)
else
    pass

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

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

if a == b:
    print(c)
elif b == c:
    print(a)
elif c == a:
    print(b)
else:
    pass
Buggy code:
a, b, c = map(int, input().split())
if a == b:
    print(c)

elif b == c:
    print(a)

else:
    print(c)

Fixed code:
a,b,c = map(int,input().split())
if a == b:
  print(c)
elif b == c:
  print(a)
elif c == a:
  print(b)
Buggy code:
A,B,C = map(int,input().split())

if A == B:
  print(C)
else if A == C:
  print(B)
else:
  print(A)

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

if A==B:
  print(C)

if A==C:
  print(B)

if B==C:
  print(A)
Buggy code:
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    A, B, C == map(int, readline().split())
    if A == B:
        print(C)
    elif B == C:
        print(A)
    else:
        print(bin())


if __name__ == '__main__':
    main()


Fixed code:
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    A, B, C = map(int, input().split())
    if A == B:
        print(C)
    elif B == C:
        print(A)
    else:
        print(B)


if __name__ == '__main__':
    main()
Buggy code:
A,B,C=map(int,input().split())
print(A)if A==B else print(B) if A==C else print(C) 

Fixed code:
A,B,C=map(int,input().split())
print(C)if A==B else print(B) if A==C else print(A)
Buggy code:
A,B,C = map(int,input().split())
if A == B:
    print('C')
elif B == C:
    print('A')
else:
    print('B')

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

if(A==B):
    print(C)
elif(A==C):
    print(B)
else:
    print(A)
Buggy code:
a, b, c = map(int, input().split())

if a == b:
    print(c)
elif b == c:
    print(a)
else:
    print(a)

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

if a==b:
    print(c)
elif b==c:
    print(a)
else:
    print(b)
Buggy code:
a = list(map(int,input().split()))

if a.count(a[0]) == 1:
  print(a[0])
elif a.count(a[1]) == 1:
  print(a[1])

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

if a.count(a[0]) == 1:
  print(a[0])
elif a.count(a[1]) == 1:
  print(a[1])
else:
  print(a[2])
Buggy code:
a, b, c = list(map(int, input().split()))
if a==b:
  print(c)
elif a==c:
  print(b):
else:
  print(a)

Fixed code:
a, b, c = list(map(int, input().split()))
if a==b:
  print(c)
elif a==c:
  print(b)
else:
  print(a)
Buggy code:
s = list(input().split())
if s[0] == s[1]:
  print(int(s[2]))
elif s[1] == s[2]:
  print(int(s[0]))
else:
  print(int(s[0]))
  
  

Fixed code:
s = list(input().split())
if s[0] == s[1]:
  print(int(s[2]))
elif s[1] == s[2]:
  print(int(s[0]))
else:
  print(int(s[1]))
Buggy code:
x=input().split()
y=set(x)
print(y[x.count(y[0])-1])

Fixed code:
x=input().split()
y=list(set(x))
print(y[x.count(y[0])-1])
Buggy code:
a,b,c=map(int,input().split())
if a==b or a==c:
    print(a)
else:
    print(b)

Fixed code:
a,b,c=map(int,input().split())
if a==b:
  print(c)
else:
  if a==c:
    print(b)
  else:
    print(a)
Buggy code:
a, b, c = map(int. input().split())
if a == b:
  print(c)
elif b == c:
  print(a)
else:
  print(b)

Fixed code:
a,b,c = map(int,input().split())
if a == b:
    print(c)
elif b == c:
    print(a)
elif c == a:
    print(b)
Buggy code:
a, b, c = int(input().split())

if a == b:
  print(a)
elif a==c:
  print(a)
elif b==c:
  print(c)



Fixed code:
a, b, c = map(int, input().split())
 
if a == b:
    print(c)
elif a==c:
    print(b)
elif b==c:
    print(a)
Buggy code:
a, b, c = map(int(input().split()))
 
if a == b:
  print(a)
elif a==c:
  print(a)
elif b==c:
  print(c)
 

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

if a == b :
    print(c)
elif a == c :
    print(b)
else:
    print(a)
Buggy code:
a = [int(i) for i in input().split()]

for num1 in range(len(a)):
    c = 0
    for num2 in range(len(a)):
        if num1 == num2:
            c += 1
    if c == 1:
        print(num1)


Fixed code:
a = [int(i) for i in input().split()]

for num1 in a:
    c = 0
    for num2 in a:
        if num1 == num2:
            c += 1
    if c == 1:
        print(num1)
Buggy code:
a,b,c=map(int,input().split());print(a+c-b)

Fixed code:
a,b,c=sorted(map(int,input().split()));print(a+c-b)
Buggy code:
a,b,c = int(map(input().split()))
if a == b:
    print(c)
elif a == c:
    print(b)
else:
    print(a)

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

if a == b:
  print(c)
elif b == c:
  print(a)
else:
  print(b)
Buggy code:
A, B, C =map(int, input().split())
print ('A' if B == C else 'B' if A == C else 'C')

Fixed code:
A, B, C =map(int, input().split())
print (A if B == C else B if A == C else C)
Buggy code:
l = input().split()
print(l)
l.sort()

if l[0] == l[1]:
    print(l[2])
else:
    print(l[0])

Fixed code:
l = input().split()
l.sort()

if l[0] == l[1]:
    print(l[2])
else:
    print(l[0])
Buggy code:
A = list(map(int,input().split()))
B = set(A)
if A.count(B[0]) == 1:
  print(B[0])
else:
  print(B[1])

Fixed code:
A = list(map(int,input().split()))
B = list(set(A))
if A.count(B[0]) == 1:
  print(B[0])
else:
  print(B[1])
Buggy code:
A = [int(i) for i in input().split()
A.sort()
mid = A[1]
s = [i for i in A if i != mid]
print(s[0])

Fixed code:
A = [int(i) for i in input().split()]
A.sort()
mid = A[1]
s = [i for i in A if i != mid]
print(s[0])
Buggy code:
a, b, c = int(input().split())

if a == b:
  print(c)
elif b == c:
  print(a)
elif a == c:
  print(b)

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

if a == b:
  print(c)
elif b == c:
  print(a)
elif a == c:
  print(b)
Buggy code:
A,B,C = map(int, input().split())
if A == B: 
	print(C)
if A == C:
	print(B)
else:
	print(A)

Fixed code:
A,B,C = map(int, input().split())
if A == B: 
	print(C)
elif A == C:
	print(B)
else:
	print(A)
Buggy code:
A,B,C = map(int,input().split())
if A == B:
    print(C)
else:
    if A == C:
        print(B)
        


Fixed code:
A,B,C = map(int,input().split())
if A == B:
    print(C)
else:
    if A == C:
        print(B)
    else:
        print(A)
Buggy code:
l = liet(map(int, input().split()))
for ll in l:
    if l.count(ll)==1:
        print(ll)
        break

Fixed code:
l = list(map(int, input().split()))
for ll in l:
    if l.count(ll)==1:
        print(ll)
        break
Buggy code:
a,b,c=map(int,input().split())
if a==b:
    print('c')
elif b==c:
    print('a')
else:
    print('b')

Fixed code:
a, b, c = map (int, input (). split ())
if a == b:
    print (c)

elif b == c:
    print (a)

else:
    print (b)
Buggy code:
l=sorted(map(int,input().split()))
print(l[0] if l[0]==l[-1] else l[-1])

Fixed code:
l=sorted(map(int,input().split()))
print(l[-1] if l[0]==l[1] else l[0])
Buggy code:
import sys

a, b, c = map(int, sys.stdin.readline().split())

if a == b:
    print(c)
elif a == c:
    print(b)
else:
    print(c)

Fixed code:
import sys

a, b, c = map(int, sys.stdin.readline().split())

if a == b:
    print(c)
elif a == c:
    print(b)
else:
    print(a)
Buggy code:
a,b,c = map(int,input().split())

if a == b:
  print(c)
elif a== c:
  print(b)
else:
  print(b)
   

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

if a == b:
  print(c)
elif a== c:
  print(b)
else:
  print(a)
Buggy code:

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


if __name__ == "__main__":
    main()


Fixed code:

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


if __name__ == "__main__":
    main()
Buggy code:
# -*- coding: utf-8 -*-

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

if a == b:
    print(a)
elif a == c:
    print(a)
else:
    print(b)

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

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

if a == b:
    print(c)
elif a == c:
    print(b)
else:
    print(a)
Buggy code:
x = list(map(int,input().split()))
result = None
for i in set(x):
  if x.count(i)>1:
    result = i
print(result)    

Fixed code:
x = list(map(int,input().split()))
result = None
for i in set(x):
  if x.count(i)==1:
    result = i
print(result)
Buggy code:
A,B,C=map(int,input().split())
print("A"if B==C else "B"if A==C else "C")
   

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

print(A if (B == C) else B if (A == C) else C)
Buggy code:
a,b,c=map(int,input().split())
print(a if b=c b elif a=c  c else)

Fixed code:
a,b,c = map(int,input().split())
if a==b: print(c)
elif b==c: print(a)
else: print(b)
Buggy code:
a,b,c=map(int,input().split())
if a==b:
  print(c)
elif b==c
  print(a)
  else:
    print(b)

Fixed code:
a,b,c=(map(int,input().split()))
if a == b:
    print(c)
elif b == c:
    print(a)
else:
    print(b)
Buggy code:
A,B,C = map(int,input().split())
if A==B:
  print(C)
if B==C:
  print(A)
else:
  print(B)

Fixed code:
A,B,C = map(int,input().split())
if A==B:
  print(C)
elif B==C:
  print(A)
else:
  print(B)
Buggy code:
a,b,c = int(input().split())
if a==b:
    print(c)
elif b==c:
    print(a)
else:
    print(b)

Fixed code:
a,b,c=map(int,input().split())
if a==b:
	print(c)
elif b==c:
	print(a)
else:
	print(b)
Buggy code:
A, B, C = map(int, input().split())
if(A == B):
    print(C)
elif(B == C):
    print(A)
else:
    print(C)


Fixed code:
A, B, C = map(int, input().split())
if(A == B):
    print(C)
elif(B == C):
    print(A)
else:
    print(B)
Buggy code:
a, b, c = map(int, input().split())
if a == b:
    print(c)
else:
    print(b)

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

if a==b:
    print(c)
elif b==c:
    print(a)
else:
    print(b)
Buggy code:
l=list(map(int,input().split()))
if l[0]!=l[1]:
  print(l[0])
else:
  print(l[2])

Fixed code:
l=list(sorted(map(int,input().split())))
if l[0]!=l[1]:
  print(l[0])
else:
  print(l[2])
Buggy code:
A,B,C = map(int, input().split())
# A = int(input())
# B = int(input())
# C = int(input())
# X = input()
if A == B:
    print("C")
elif A == C:
    print("B")
else:
    print("A")

Fixed code:
A,B,C = map(int, input().split())
# A = int(input())
# B = int(input())
# C = int(input())
# X = input()
if A == B:
    print(C)
elif A == C:
    print(B)
else:
    print(A)
Buggy code:
A,B,C = map(int,input().split())

if(A == B):
    print(C)
elif(A==C):
    print(B)
else:
    print(C)

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

if(A == B):
    print(C)
elif(A==C):
    print(B)
else:
    print(A)
Buggy code:
a,b,c=map(int, input().split())

if a-b==0 
  print(int(c))
elif b-c==0:
  print(int(a))
elif c-a==0:
  print(int(b))


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

if a-b==0: 
  print(int(c))
elif b-c==0:
  print(int(a))
elif c-a==0:
  print(int(b))
Buggy code:
# -*- coding: utf-8 -*-
A,B,C =map(int,input().split())
if A == B:
  print(C)
elif B == C:
  print(A)
else:
  print()B

Fixed code:
# -*- coding: utf-8 -*-
A,B,C =map(int,input().split())
if A == B:
  print(C)
elif B == C:
  print(A)
else:
  print(B)
Buggy code:
a, b, c = map(int, input().split())
print(a if b == c else b if a == c else c if a == b)

Fixed code:
a, b, c = map(int, input().split())
print(a if b == c else b if a == c else c)
Buggy code:
inputs=input()
A = int(inputs[0])
B = int(inputs[1])
C = int(inputs[2])

if A == B:
    print(C)
elif B == C:
    print(A)
else:
    print(B)

Fixed code:
inputs=input().split()
A = int(inputs[0])
B = int(inputs[1])
C = int(inputs[2])

if A == B:
    print(C)
elif B == C:
    print(A)
else:
    print(B)
Buggy code:
a, b, c = map(int, input().split())

if a == b:
    ans = c
elif a == c:
    ans = b:
else:
    ans = a

print(ans)

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

if a == b:
    ans = c
elif a == c:
    ans = b
else:
    ans = a

print(ans)
Buggy code:
a, b, c = int(input().split)
if a == c : print(b)
elif a == b : print(c)
else : print(a)


Fixed code:
a, b, c = input().split()
if a == c : print(b)
elif a == b : print(c)
else : print(a)