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):


import sys
from collections import Counter


def main():
    for line in sys.stdin:
        data = line.rstrip().split(" ")
        counter = Counter(data)
        print(list(counter.most_common())[-1][0])


if __name__ == "__main__":
    main()

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 = input().split()
if a[0] == a[1]:print(a[2])
if a[1] == a[2]:print(a[0])
if a[2] == a[0]:print(a[1])

Solution (Python):
nums = map(int, input().split())
d = {}
for n in nums:
  d.setdefault(n, 0)
  d[n] += 1
print(list(d.keys())[list(d.values()).index(1)])

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

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

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

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

Solution (Python):
a=list(input().split())
for i in range(3):
  if a.count(a[i])==1:
    b=a[i]
print(b)

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

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

Solution (Python):
x,y,z=[int(i) for i in input().split()]

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

Solution (Python):
import sys

l = list(map(int, sys.stdin.readline().strip().split(" ")))

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

Solution (Python):


a = input().split()

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

Solution (Python):
a = raw_input().split()

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

Solution (Python):
def i1():
 return int(input())
def i2():
 return [int(i) for i in input().split()]
x=i2()
if x[0]==x[1]:
  print(x[2])
if x[0]==x[2]:
  print(x[1])
if x[2]==x[1]:
  print(x[0])

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

if A == B:
  Ans = C
else:
  if A == C:
    Ans = B
  else:
    Ans = A

print(Ans)

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

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

print str(ans)

Solution (Python):
nums=input().split()
for i in range(3):
    nums[i]=int(nums[i])

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

Solution (Python):



(A, B, C) = [int(x) for x in input().split(" ")]

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

Solution (Python):



l = map(int, raw_input().split())
A = l[0]
B = l[1]
C = l[2]

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

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, B, C = map(int, input().split())

print(({A} ^ {B} ^ {C}).pop())

Solution (Python):
line = input().rstrip().split(' ')
A = line[0]
B = line[1]
C = line[2]

if A == B:
    print(C)
elif A == C:
    print(B)
elif B == C:
    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):


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

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

print(output)

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 = map(int, input().strip().split())
if a==b:
  print(c)
elif a==c:
  print(b)
else:
  print(a)

Solution (Python):
num = input().split()
num = [int(x) for x in num]

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

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

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)
if A==C:
    print(B)
if B==C:
    print(A)

Solution (Python):



from collections import Counter
nums = [int(i) for i in input().split()]
counter = Counter(nums)
for key, value in counter.items():
    if value == 1:
        print(key)

Solution (Python):
l = list(map(int,input().split()))
if l[0]==l[1]:
    print(l[2])
elif l[1]==l[2]:
    print(l[0])
else:
    print(l[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):
from collections import Counter
N = list(map(int,input().split()))
c = Counter(N)


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

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 = input().split(" ")
if a == b and a != c:
    print(str(c))
elif a == c and a != b:
    print(str(b))
elif b == c and b != a:
    print(str(a))

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

Solution (Python):
x = input()
y = x.split(" ")
if y[0] == y[1]:
  print(y[2])
elif y[1] == y[2]:
  print(y[0])
elif y[2] == y[0]:
  print(y[1])

Solution (Python):
from collections import defaultdict

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

d = defaultdict(lambda:0)

for i in n:
    d[i] += 1
     
for i in n:
    if d[i] == 1:
        print(i)

Solution (Python):
from sys import stdin
a,b,c = map(int,stdin.readline().split())
print a^b^c

Solution (Python):
a = [int(i) for i in 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 == c:
    print(b)
elif a == b:
    print(c)
elif b == c:
    print(a)

Solution (Python):
from collections import Counter

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

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

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

if x[0]==x[1]:
    print(x[2])
    quit()
elif x[1]==x[2]:
    print(x[0])
    quit()

print(x[1])

quit()

Solution (Python):


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

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

Solution (Python):
l = [int(x) for x in raw_input().split()]
for x in set(l):
	if l.count(x) == 1:
		print x

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

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

Solution (Python):
nums = [int(x) for x in input().split()]

nums.sort()

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

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

Solution (Python):
def main():
    a, b, c = map(int, raw_input().split(" "))

    if a == b:
        print(c)
    elif a == c:
        print(b)
    else:
        print(a)
        
if __name__ == '__main__':
    main()

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)
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):
S = input().split(" ")

A = int(S[0])
B = int(S[1])
C = int(S[2])
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==C:
    print(B)

elif A==B:
    print(C)

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):








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) & (A!=C):
    print(C)
elif (A==C) & (A!=B):
    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):
a, b, c = input().split()

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

Solution (Python):
def solve():
    l = list(map(int, input().split(" ")))
    count_dict = {}

    for element in l:
        if element not in count_dict:
            count_dict[element] = 1
        else:
            count_dict[element] += 1

    for key, val in count_dict.items():
        if val == 1:
            print(key)
            break
            

solve()

Solution (Python):
from sys import stdin, stdout
def readLine_int_list():return list(map(int, stdin.readline().split()))


def main():
	a=sorted(readLine_int_list())
	print(a[0] if a.count(a[0]) == 1 else (a[2]))
	
	
if __name__ == "__main__":
    main()

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):
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)

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()
if num[0]==num[1]:
    print(int(num[2]))
elif num[0]==num[2]:
    print(int(num[1]))
else:
    print(int(num[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):
A,B,C = list(map(int, input().strip().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):


s=list(map(int,input().rstrip().split()))

for i in s:
    if( s.count(i) == 1 ):
        print(i,flush=True)
        break

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

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

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

Solution (Python):
import numpy as np

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

Solution (Python):
def main():
    ABC = tuple(map(int, input().split()))
    print(lonelyInteger(ABC))

def lonelyInteger(array):
    result = 0
    for i in array:
        result ^= i
    return result

main()

Solution (Python):


s=list(map(int,input().rstrip().split()))

for i in s:
    if( s.count(i) == 1 ):
        print(i,flush=True)
        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):
A,B,C = [int(i) for i in 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())
if A == B:
	print(C)
elif B == C:
	print(A)
else:
	print(B)

Solution (Python):
a,b,c = [int(i) for i in input().split()]
print(a if a != b and a!= c else b if b!= a and b != c else 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 = map(int, input().split())
if a == b:
    print(c)
elif a == c:
    print(b)
else:
    print(a)

Solution (Python):
nums=raw_input().split(' ')
if nums[0]!=nums[1]:
 if nums[0]==nums[2]:
  print nums[1]
 else:print nums[0]
else:print nums[2]

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:
    x = c
elif b == c:
    x= a
else:
    x = b

print(x)

Solution (Python):


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

if a == b : print(c)
if b == c : print(a)
if 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):
import math,heapq,collections,sys,numpy

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 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()

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

Solution (Python):



from collections import defaultdict
from math import factorial as f
from fractions import gcd as g

l = [int (i) for i in raw_input ().split ()]
d = defaultdict (int)
for i in l: d [i] += 1
print [i for i in d if d [i] == 1][0]

Solution (Python):

"""
https://beta.atcoder.jp/contests/abc075/tasks/abc075_a

"""
import sys
from sys import stdin
input = stdin.readline


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


if __name__ == '__main__':
    main(sys.argv[1:])

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^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 = input().split()
a = int(a)
b = int(b)
c= int(c)

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 = raw_input().split()
if A == B:
  print C
elif A == C:
  print B
else:
  print A

Solution (Python):
line=input().split()
a=int(line[0])
b=int(line[1])
c=int(line[2])
if (a==b):
    print (c)
elif (b==c):
    print(a)
elif (a==c):
    print(b)

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

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

Solution (Python):
X = map(int, raw_input().split())
print sum(X)-(sum(X)-min(X)-max(X))*2

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):



"""
"""


from collections import ChainMap
from collections import Counter
from collections import defaultdict
from collections import deque
from collections import namedtuple
import bisect
import copy
import decimal
import fractions
import functools
import heapq
import itertools
import locale
import math
import operator
import pdb
import pprint
import random
import re
import string
import sys
import time

try:
    import numpy as np
    import scipy as sp
except:
    pass



def is_odd(x):
    return x % 2 == 1

def is_even(x):
    return x % 2 == 0

def cmp(x, y):
    return (x > y) - (x < y)

def sgn(x):
    return cmp(x, 0)

def clamp(x, lo, hi):
    assert lo <= hi
    if x < lo:
        return lo
    elif x > hi:
        return hi
    else:
        return x

def chmax(xmax, x):
    if x > xmax:
        return x, True
    else:
        return xmax, False

def chmin(xmin, x):
    if x < xmin:
        return x, True
    else:
        return xmin, False

def argmax(seq):
    return max(range(len(seq)), key=seq.__getitem__)

def argmin(seq):
    return min(range(len(seq)), key=seq.__getitem__)

def INPUT():
    return input().rstrip() 

sys.setrecursionlimit(100000)

locale.setlocale(locale.LC_ALL, "C")



PINF = float("inf")
NINF = float("-inf")
EPS  = 1e-9



def main():
    X = list(map(int, input().split()))

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

if __name__ == "__main__": main()

Solution (Python):
if __name__ == '__main__':
    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 = 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):

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

Solution (Python):
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
INF = float("inf")


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



if __name__ == '__main__':
    main()

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


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

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, raw_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()

a,b,c = na()
print(a^b^c)

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**15
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 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 = LI()
    if a[0] == a[1]:
        return a[2]
    if a[0] == a[2]:
        return a[1]

    return a[0]


print(main())

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