Problem:
 Score : 100 points    Problem Statement You are given three integers, A , B and C . Among them, two are the same, but the remaining one is different from the rest. For example, when A=5,B=7,C=5 , A and C are the same, but B is different. Find the one that is different from the rest among the given three integers.      Constraints  -100 \leq A,B,C \leq 100   A , B and C are integers.  The input satisfies the condition in the statement.         Input Input is given from Standard Input in the following format:  A  B  C       Output Among A , B and C , print the integer that is different from the rest.        Sample Input 1 5 7 5      Sample Output 1 7  This is the same case as the one in the statement.       Sample Input 2 1 1 7      Sample Output 2 7  In this case, C is the one we seek.       Sample Input 3 -100 100 100      Sample Output 3 -100

Solution (Python):
A, B, C = map(int,input().split())
if A == B and A != C:
    print(C)
elif A == C and A != B:
    print(B)
else:
    print(A)

Solution (Python):
a=list(input().split())
for i in a:
    if a.count(i)==1:
        print(i)

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

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

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

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

Solution (Python):


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

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

Solution (Python):
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().strip()

a,b,c = na()
if a==b:
    print(c)
if b==c:
    print(a)
if a==c:
    print(b)

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

Solution (Python):
def judge(a, b, c):
	if a == b: return c
	elif b == c: return a
	else: return b

a, b, c = raw_input().split()
print judge(a, b, c)

Solution (Python):
A, B, C = map(int, input().split(' '))
if A == B: print(C)
elif B == C: print(A)
else: print(B)

Solution (Python):
a, b, c = [int(x) for x in input().split()]
if a == b:
    print(c)
elif b == c:
    print(a)
else:
    print(b)

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

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

Solution (Python):
a,b,c = map(int,input().split());
if a == b: print(c)
elif b == c: print(a)
elif c == a: print(b)

Solution (Python):
A,B,C = map(int,input().split())
if A == B:
    print(C)
elif  B == C:
    print(A)
elif A == C:
    print(B)

Solution (Python):
x = list(map(int, input().split()))
print(x[[x.count(i) for i in x].index(1)])

Solution (Python):
A,B,C=map(int,input().split())
ABC_list=[A,B,C]
if ABC_list.count(A)==1:
    print (A)
elif ABC_list.count(B)==1:
    print (B)
else:
    print (C)

Solution (Python):
[a,b,c]=map(int,raw_input().split())

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

Solution (Python):
y=list(map(int,input().split()))
if y[0]==y[1]:
  s=y[2]
elif y[0]==y[2]:
  s=y[1]
else:
  s=y[0]


print(s)

Solution (Python):
x=list(map(int,input().split()))
if x[0]==x[1]:
  s=x[2]
elif x[0]==x[2]:
  s=x[1]
else:
  s=x[0]


print(s)

Solution (Python):

A,B,C=map(int,list(input().split()))

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

Solution (Python):


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

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

Solution (Python):
A,B,C = map(int,input().split())
print(A^B^C)

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

Solution (Python):
a,b,c = map(int,input().split())
print(a^b^c)

Solution (Python):
a,b,c=map(int, input().split())
if a==b: print(c)
else :print(a+b-c)

Solution (Python):
a,b,c  = map(int,input().split())
print( a ^ b ^ c)

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

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

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

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

Solution (Python):
x,y,z=map(int,input().split())
if x==y:
	print(z)
elif y==z:
	print(x)
else:
	print(y)

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

Solution (Python):
a=input().split()
print(a[0] if a[1] == a[2] else a[1] if a[0] == a[2] else a[2])

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

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

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

Solution (Python):
arr = list(map(int,input().split(" ")))

for i in arr:
    if arr.count(i) == 1:
        print(i)
        break

Solution (Python):
A,B,C=map(int,input().split())
if A==B:
    print(C)
elif B==C:
    print(A)
elif C==A:
    print(B)

Solution (Python):
a,b,c = map(int,input().split())
print(a if b==c else b if a==c else c)

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

Solution (Python):

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

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

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

Solution (Python):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

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


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

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

Solution (Python):

a,b,c=(int(i) for i in input().split())
if a==b:print(c)
elif b==c:print(a)
else :print(b)

Solution (Python):
a,b,c = map(int,input().split())
print(a if b==c else -a+b+c)

Solution (Python):
a=input().split()
a.sort()
print(a[2] if a[0]==a[1] else a[0])

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

Solution (Python):
x = [int(i) for i in input().split()]
x.sort()
if x[0]==x[1]: print(x[2])
else: print(x[0])

Solution (Python):
a,b,c=map(int,input().split())
s=[a,b,c]
s.sort()
if s[1]==s[2]:
  print(s[0])
elif s[0]==s[1]:
  print(s[2])
else:
  print(s[1])

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

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

Solution (Python):
ABC = input().split()
A, B, C = int(ABC[0]), int(ABC[1]), int(ABC[2])

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

Solution (Python):
a,b,c=map(int,input().split())
if a!=b and b==c:
    print(a)
elif a==b and b!=c:
    print(c)
else:
    print(b)

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

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

Solution (Python):

a = list(map(int, input().split()))
print(a[0] ^ a[1] ^ a[2])

Solution (Python):





if __name__ == '__main__':
    A, B, C = list(map(int, input().split()))

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

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

Solution (Python):
print(eval(input().replace(' ','^')))

Solution (Python):

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

Solution (Python):
import sys
import math
import collections
import itertools
import array
import inspect


sys.setrecursionlimit(10000)


def chkprint(*args):
    names = {id(v):k for k,v in inspect.currentframe().f_back.f_locals.items()}
    print(', '.join(names.get(id(arg),'???')+' = '+repr(arg) for arg in args))


def to_bin(x):
    return bin(x)[2:]


def dim2input(N):
    li = []
    for _ in range(N):
        li.append(input().split())
    return li



dp = None

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

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

main()

Solution (Python):


d = {}
integer = input().rstrip().split()
for i in integer:
    if i not in d:
        d[i] = 1
    else:
        d[i] += 1
for key, value in d.items():
    if value == 1:
        print(key)

Solution (Python):
from collections import Counter

g = list(map(int, input().split()))
c = Counter(g)

for w, c in c.most_common():
    if c == 1:
        print(w)

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

Solution (Python):
a,b,c=sorted(list(map(int,input().split())))
if b==a:
    print(c)
else:
    print(a)

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

Solution (Python):





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



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


print(str(s))

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

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

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

Solution (Python):
a,b,c=map(int,input().split(' '))
if a==b:
    print(c)
elif a==c:
    print(b)
else:
    print(a)

Solution (Python):
A, B, C = map(int, input().split())
print(C if A == B else B if A == C else A)

Solution (Python):
a,b,c=map(int,input().split())
if b==c and a!=b:
    print(a)
elif a==c and b!=a:
    print(b)
elif a==b and c!=a:
    print(c)

Solution (Python):
a = list(map(lambda x: int(x), input().split(" ")))
b = list(set(a))
if a.count(b[0]) == 2:
  print(b[1])
else:
  print(b[0])

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

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

Solution (Python):
x,y,z=input().split()
x,y,z=int(x),int(y),int(z)
if x==y:
        print(z)
elif x==z:
        print(y)
elif y==z:
        print(x)

Solution (Python):
xs = map(int, input().split())
d ={}
for x in xs:
    d[x] = d.get(x, 0) + 1

for k, v in d.items():
    if v == 1:
        print(k)

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

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

Solution (Python):
A,B,C=list(input().split())

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

Solution (Python):
a,b,c=[int(x) for x in input().split()]
l=sorted([a,b,c])
print(l[0]) if l[0]!=l[1] else print(l[2])

Solution (Python):

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

Solution (Python):

xs = sorted(map(int, input().split()))

if xs[0] != xs[1]:
    print(xs[0])
if xs[1] != xs[2]:
    print(xs[2])

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

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

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

Solution (Python):
A, B, C = input().split()

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

Solution (Python):
import collections

input_list = input().split(" ")

count_dict = collections.Counter(input_list)

for k,v in count_dict.items():
    if(v == 1):
        print(k)

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

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

Solution (Python):
a, b, c = map(int, raw_input().split())
print a ^ b ^ c

Solution (Python):
a, b, c = map(int, input().split())
if a == b:
    print(c)
else:
    if b == c:
        print(a)
    else:
        print(b)

Solution (Python):
from collections import Counter
print(Counter(map(int,input().split())).most_common()[-1][0])

Solution (Python):
A, B, C = map(int, raw_input().split())
if A == B:
    print C
elif A == C:
    print B
else:
    print A

Solution (Python):
n = list(map(int,input().split()))
n.sort()
if n.count(n[0]) == 2:
  print(n[2])
else:
  print(n[0])

Solution (Python):
print (lambda a,b,c: a if b == c else b if a == c else c)(*map(int, raw_input().split()))

Solution (Python):
a,b,c = map(int, input().split())
print(a^b^c)

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

Solution (Python):
print(eval(input().replace(" ","^")))

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

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

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

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

Solution (Python):



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


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

Solution (Python):
num = [int(x) for x in input().split()]
for i in num:
    if num.count(i) == 1:
        print(i)

Solution (Python):
x,y,z=input().split()

if x==y:
	print(z)
elif x==z:
	print(y)
elif y==z:
	print(x)

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

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

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

Solution (Python):
num = list(map(int, input().split()))

for i in num:
  if num.count(i) == 1:
    print(i)
    break

Solution (Python):
s = list(map(int, input().split()))
s.sort()
if s[0] != s[1]:
    print(s[0])
else:
    print(s[2])

Solution (Python):

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

def out_of_three():
	if a == b:
		return c
	if a == c:
		return b
	if b == c:
		return a

print (out_of_three())

Solution (Python):
a,b,c=input().split(" ")
if a==b:
  print(c)
elif a==c:
  print(b)
else:
  print(a)

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

Solution (Python):
l = input().split()
l.sort()

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

Solution (Python):
A,B,C = [int(i) for i in input().split()]

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

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

Solution (Python):
import collections

a = list(map(int, input().split()))
b = collections.Counter(a)
minimum = min(list(dict(b).items()), key=lambda x:x[1])[0]
print(minimum)

Solution (Python):



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

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

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

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

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

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

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

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

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

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

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

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

def main():
    if A == B:
        ans = C
    elif A == C:
        ans = B
    else:
        ans = A
    print(ans)

if __name__ in "__main__":
    main()

Solution (Python):
import sys


def main():

    
    args = _input_args()  

    
    result = _main(args)

    
    _output_result(result)


def _main(args):
    """Write Main Logic here for the contest.

    :param args: arguments
    :type args: list
    :return: result
    :rtype: depends on your logic.
    """
    hash = HashMap()

    for value in args:
        hash.add(value)

    
    return hash.find_unique()


class HashMap(object):
    def __init__(self):
        self.map = {}

    def add(self, value):
        if self.map.get(value) is None:
            self.map[value] = [value]
        else:
            self.map[value].append(value)

    def find_unique(self):
        for value, array in self.map.items():
            if len(array) == 1:
                return array[0]


def _input_args():

    arguments = _input().split()  

    return arguments  


def _input():
    
    return input()  


def _output_result(result):

    print('{}'.format(str(result)))  


if __name__ == '__main__':
    main()

Solution (Python):
print eval(raw_input().replace(' ', '^'))

Solution (Python):
A, B, C = map(int, input().split())
print(A if B == C else B if A == C else C)

Solution (Python):
X = list(map(int, input().split()))

X.sort()
if X[0] == X[1]:
    print(X[2])
else:
    print(X[0])

Solution (Python):
a=input().split()
A=int(a[0])
B=int(a[1])
C=int(a[2])
if(A==B):
  print(C)
if(A==C):
  print(B)
if(B==C):
  print(A)

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

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

Solution (Python):
x, y, z = map(int, input().split())
print(x ^ y ^ z)

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

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

Solution (Python):
input_lines = list(input().split(" "))
if input_lines[0] == input_lines[1]:
    print(input_lines[2])
elif input_lines[0] == input_lines[2]:
    print(input_lines[1])
else:
    print(input_lines[0])

Solution (Python):
numbers = list(map(int, input().split()))
for i in numbers:
    if numbers.count(i) == 1:
        print(i)

Solution (Python):
i = input().split()
if(i[0] == i[1]):
    print(i[2])
elif(i[0] == i[2]):
    print(i[1])
else:
    print(i[0])

Solution (Python):
a=input().split()
if a[0]==a[1]:print(a[2])
elif a[1]==a[2]:print(a[0])  
else:print(a[1])

Solution (Python):
list_ = sorted(map(int, input().split()))
if list_[0] == list_[1]:
    print(list_[2])
else:
    print(list_[0])

Solution (Python):

A,B,C = map(int, raw_input().split())
if A == B:
    print(C)
if A == C:
    print(B)
if B == C:
    print(A)

Solution (Python):





from sys import stdin

def solve(A, B, C):
  if A == B: return C
  if A == C: return B
  if B == C: return A
  raise

def splitToInt(line):
  words = line.strip().split()
  return [int(w) for w in words]

A, B, C = splitToInt(stdin.readline())
print(solve(A, B, C))

Solution (Python):
intarr = input().split()

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

Solution (Python):
def main():
    a = list(map(int, input().split()))
    a_set = list(set(a))
    c = 0
    for x in range(3):
        if a_set[0] == a[x]:
            c += 1
    if c == 2:
        print(a_set[1])
    else:
        print(a_set[0])


if __name__ == "__main__":
    main()

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

print(A ^ B ^ C)

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

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

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

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

Solution (Python):

import sys, copy, math, itertools
from copy import *
from collections import deque
import numpy as np
from heapq import *
from bisect import *
import scipy as sp
from scipy import special, signal, ifft
from scipy.fftpack import fft


A, B, C = list( map(int, input().split() ) )

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

Solution (Python):

import sys, copy, math, itertools
from copy import *
from collections import deque
import numpy as np
from heapq import *
from bisect import *
import scipy as sp

from scipy import ceil, ifft
from scipy.fftpack import fft

A, B, C = list( map(int, input().split() ) )

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

Solution (Python):

import sys, copy, math, itertools
from copy import *
from collections import deque
import numpy as np
from heapq import *
from bisect import *
import scipy as sp

A, B, C = list( map(int, input().split() ) )

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

Solution (Python):

import numpy as np
from numpy import *
from copy import *

A, B, C = list( map(int, input().split() ) )

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

Solution (Python):
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])

Solution (Python):
num = input().split()
if int(num[0]) == int(num[1]):
    print(num[2])
elif int(num[0]) == int(num[2]):
    print(num[1])
else:
    print(num[0])

Solution (Python):

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

Solution (Python):
rng1 = -100
rng2 = 101

inp = [int(i) for i in input().split()]

x, y, z = [inp[i] for i in range(len(inp))]


def dif1(x, y ,z):
    if not isinstance(x, int) or not isinstance(y, int) or not isinstance(z, int):
        return False
    elif x not in range(rng1, rng2) or y not in range(rng1, rng2)or z not in range(rng1, rng2):
        return False
    else:
        if y == z:
            return x
        if z == x:
            return y
        if x == y:
            return z
Ans = dif1(x,y,z)
print(Ans)

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

Solution (Python):

q = [int(x) for x in input().split()]
a, b, c = [int(x) for x in q]
while( (a+b) != (a+c) ):
	q = q[1:] + [q[0]]
	a, b, c = [int(x) for x in q]
print(a)

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

Solution (Python):
a,b,c = map(int, raw_input().split(" "))
if a == b:
    print c
elif b == c:
    print a
else: print b

Solution (Python):
input_data = raw_input()
data = input_data.split(' ')
if data[0] == data[1]:
  print data[2]
elif data[0] == data[2]:
  print data[1]
else:
  print data[0]

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

Solution (Python):
a, b, c = map (int, input().split())
if a == b:
	print(c)
else:
	if a == c:
		print(b)
	else:
		print(a)

Solution (Python):
a, b, c =map(int, input().split())
if a == b:
	print(c)
else:
	if a == c:
		print(b)
	else:
		print(a)

Solution (Python):
a, b, c = map(int, input().split())
if a == b:
	print(c)
else:
	if a == c:
		print(b)
	else:
		print(a)

Solution (Python):
a = list(map(int, input().split()))
a.sort(key=int)
print(a[0]^a[1]^a[2])

Solution (Python):
a = list(map(int, input().split()))
a.sort(key=int)
if a[0] == a[1]:
  print(a[2])
else:
  print(a[0])

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

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

Solution (Python):



num = input().split()
for i in range(3):
    if num[i] == num[(i + 1) % 3]:
        print(num[(i + 2) % 3])

Solution (Python):
input = input()
inputs = input.split()

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

Solution (Python):
a, b, c = (int(i) for i in input().split())
 
if a==b:
  print(c)
elif b==c:
  print(a)
elif c==a:
  print(b)

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

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

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



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

Solution (Python):
A = input().split()

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

Solution (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

Solution (Python):
n = input().split()

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

Solution (Python):
s=input().split()
if int(s[0])==int(s[1]):
    print(s[2])
elif int(s[0])==int(s[2]):
    print(s[1])
else:
    print(s[0])

Solution (Python):
x = input()
x = x.split()

if x[0] == x[1]:
    print(x[2])
else:
    x.remove(x[2])
    print(x[0])

Solution (Python):
def main(argv):
    for i in range(len(argv)):
        check = sum(argv[i] == argv[j] for j in range(len(argv)))
        if check != len(argv)-1:
            return argv[i]


argv = list(map(int, input().split()))
print(main(argv))

Solution (Python):


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

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

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

print(d)

Solution (Python):
a, b, c = map(int, input().split())
ab = a-b
bc = b-c
ca = c-a
if ab == 0:
 print(c)
if bc == 0:
 print(a)
if ca == 0:
 print(b)

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

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

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

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

Solution (Python):
import sys
a,b,c=sys.stdin.readline().split()
a=int(a)
b=int(b)
c=int(c)
if a==b:
    print(c)
elif a==c:
    print(b)
else:
    print(a)

Solution (Python):
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)

Solution (Python):
import sys
from collections import defaultdict


def solve(line):
    split = line.split()
    count = defaultdict(int)
    for s in split:
        count[s] += 1

    for k, v in count.items():
        if v == 1:
            return k


if __name__ == '__main__':
    print(solve(sys.stdin.readline()))

Solution (Python):
ls = list(map(int, input().split()))
[print(i) for i in filter(lambda x: ls.count(x) == 1, ls)]

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

Solution (Python):

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

Solution (Python):
a, b, c = input().split()
if a == b:
    print(c)
elif a == c:
    print(b)
else:
    print(a)

Solution (Python):
a,b,c = input().split()
if a == b:
    print(c)
else:
    if a == c:
        print(b)
    else:
        print(a)

Solution (Python):
a,b,c = map(int, raw_input().split())
if a == b:
    print c
elif a == c:
    print b
else:
    print a

Solution (Python):


n = list(map(int, input().split()))

h = {}
for i in n:
    if i not in h:
        h[i] = 0
    h[i] += 1

for i in h.keys():
    if h[i] < 2:
        print(i)
        exit()

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

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

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

Solution (Python):
A,B,C=map(int,input().split())
print(A^B^C)

Solution (Python):
from collections import defaultdict


def main():
    d = defaultdict(lambda: 0)
    for i in input().split():
        d[int(i)] += 1
    d = {v:k for k, v in d.items()}
    print(d[1])
    

if __name__ == "__main__":
    main()

Solution (Python):
a,b,c = map(int,input().split())
print(a^b^c)

Solution (Python):
a,b,c = input().split()
if a == b:
    print(c)
elif b==c:
    print(a)
else:
    print(b)

Solution (Python):
a,b,c = input().split()
if a == b:
    print(c)
elif b==c:
    print(a)
else:
    print(b)

Solution (Python):
A,B,C = map(int, input().split())
print(A^B^C)

Solution (Python):


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

Solution (Python):
a,b,c=map(int,raw_input().split())
print a^b^c

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

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

Solution (Python):

import traceback


def main():
    _list = map(int,raw_input().split())
    for val in _list:
        if _list.count(val) == 1:
            return val

print main()

Solution (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

Solution (Python):
A = list(map(int, input().split()))
print(A[0]^A[1]^A[2])

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

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

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

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

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

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

Solution (Python):
A, B, C = sorted(map(int, input().split()))
print(A if A != B else C)

Solution (Python):

a = list(map(int, input().split()))
d = set()
e = [ tmp for tmp in a if tmp in d or d.add(tmp) ]
for tmp in a:
    if tmp not in e:
        print(tmp)
        break

Solution (Python):

a=list(map(int,input().split()))
for n in a:
    if a.count(n)==1:
        print(n)
        break

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

Solution (Python):
def solution():
	x,y,z = [int(a) for a in input().split(' ')]
	if x == y:
		print(z)
	elif x == z:
		print(y)
	else:
		print(x)

solution()

Solution (Python):
a, b, c = map(int, input().split())
print(a^b^c)

Solution (Python):
import sys
from collections import Counter




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


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


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_int_list()
    c = Counter(n)
    for i in c:
        if c[i] == 1:
            print(i)


main()

Solution (Python):



A, B, C = [int (i) for i in raw_input ().split ()]
print A ^ B ^ C

Solution (Python):
a,b,c=map(int,raw_input().split())
print a^b^c

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

Solution (Python):
n = input().split()
if n[0] == n[1]:
  print(n[2])
elif n[0] == n[2]:
  print(n[1])
else:
  print(n[0])

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