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



Sample input:
5 7 5


Sample output:
7

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a==b:
    ans=c
elif b==c:
    ans=a
else:
    ans=b
print(a+b+c-ans)

Submission status: Wrong Answer

Solution code:
eval(input().replace(*" ^"))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# 3つの整数A,B,Cを入力
A,B,C = map(int,input().split())
# A,B,Cのうち2つは同じ整数、同じ整数でないものを出力
if A == B:
    print(C)
elif A == C:
    print(B)
else:
    print(C)

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
 
for i in a:
  if a.count(i) > 1:
    print(i)
    break

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
print(sum(a)-sum(list(set(a))))

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
print(sum(a)-sum(list(set(a))))

Submission status: Wrong Answer

Solution code:
A,B,C = (int(T) for T in input().split())
if B==C:
    print('A')
elif A==C:
    print('B')
else:
    print('C')

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
INF = 10**9
mod = 10**9+7

A,B,C = I()
if A == B and A != C:
    print(C)
if B == C and A != B:
    print(A)
if A == C and A != B:
    print(A)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution 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])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C=input().split()
print("A"if B==C else "B"if A==C else "C")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: <encoding name> -*-

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

Submission status: Wrong Answer

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

#############
# Libraries #
#############

import sys
input = sys.stdin.readline

import math
from collections import deque
from fractions import gcd
from functools import lru_cache


#############
# Constants #
#############

MOD = 10**9+7
INF = float('inf')

#############
# Functions #
#############

######INPUT######
def inputI(): return int(input().strip())
def inputS(): return input().strip()
def inputIL(): return list(map(int,input().split()))
def inputSL(): return list(map(str,input().split()))
def inputILs(n): return list(int(input()) for _ in range(n))
def inputSLs(n): return list(input().strip() for _ in range(n))
def inputILL(n): return [list(map(int, input().split())) for _ in range(n)]
def inputSLL(n): return [list(map(str, input().split())) for _ in range(n)]

#####Inverse#####
def inv(n): return pow(n, MOD-2, MOD)

######Combination######
kaijo_memo = []
def kaijo(n):
  if(len(kaijo_memo) > n):
    return kaijo_memo[n]
  if(len(kaijo_memo) == 0):
    kaijo_memo.append(1)
  while(len(kaijo_memo) <= n):
    kaijo_memo.append(kaijo_memo[-1] * len(kaijo_memo) % MOD)
  return kaijo_memo[n]

gyaku_kaijo_memo = []
def gyaku_kaijo(n):
  if(len(gyaku_kaijo_memo) > n):
    return gyaku_kaijo_memo[n]
  if(len(gyaku_kaijo_memo) == 0):
    gyaku_kaijo_memo.append(1)
  while(len(gyaku_kaijo_memo) <= n):
    gyaku_kaijo_memo.append(gyaku_kaijo_memo[-1] * pow(len(gyaku_kaijo_memo),MOD-2,MOD) % MOD)
  return gyaku_kaijo_memo[n]

def nCr(n,r):
  if(n == r):
    return 1
  if(n < r or r < 0):
    return 0
  ret = 1
  ret = ret * kaijo(n) % MOD
  ret = ret * gyaku_kaijo(r) % MOD
  ret = ret * gyaku_kaijo(n-r) % MOD
  return ret

######Factorization######
def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])
    if temp!=1:
        arr.append([temp, 1])

    if arr==[]:
        arr.append([n, 1])
    return arr

#####LCM#####
def lcm(a, b):
    return a * b // gcd (a, b)

#############
# Main Code #
#############

l = inputIL()

l.sort()

print(l[1])

Submission status: Wrong Answer

Solution 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")

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
for i in range(2):
    if a.count(a[i])!=1:
        del a[i]
print(int(a[0]))

Submission status: Wrong Answer

Solution code:
s=input()
if s[0]==s[2]:
  print('C')
elif s[0]==s[4]:
  print('B')
else:
  print('A')

Submission status: Wrong Answer

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

elif b == c:
    print(a)

else:
    print(c)

Submission status: Wrong Answer

Solution code:
S = input().replace(" ", "")

if S.count(S[0]) == 1:
  print(S[0])
elif S.count(S[1]) == 1:
  print(S[1])
else:
  print(S[2])

Submission status: Wrong Answer

Solution code:
S = input().replace(" ", "")
print(S)

if S.count(S[0]) == 1:
  print(S[0])
elif S.count(S[1]) == 1:
  print(S[1])
else:
  print(S[2])

Submission status: Wrong Answer

Solution code:
S = input().strip(" ")
if S.count(S[0]) == 1:
  print(S[0])
elif S.count(S[1]) == 1:
  print(S[1])
else:
  print(S[2])

Submission status: Wrong Answer

Solution code:
x, y, z = map(int, input().split())
print(x*y//2)

Submission status: Wrong Answer

Solution code:
A, B, C = map(str, input().split())
print("A" if B == C else "B" if A == C else "C")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    bf =999
    for i in a:
        if bf == 999:
            bf =i
        elif bf != i:
            print(i)

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
print(a[0]*a[2]//a[1])

Submission status: Wrong Answer

Solution code:
arr = list(map(int,input().split()))
if arr[0]==arr[1]:
  print(arr[0])
else:
  print(arr[2])

Submission status: Wrong Answer

Solution code:
A, B, C = map(int, raw_input() .split())
if A < B and C or A > B and C:
    if B == C:
        print A
elif B < A and C or B > A and C:
    if A == C:
        print B
elif C < A and B or C > A and B:
    if A == B:
        print C

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = list(input())
for i in list(set(n)):
	c = n.count(i)
	if c==1:
		print(i)
		exit()

Submission status: Wrong Answer

Solution code:
n = list(input())
for i in list(set(n)):
	c = n.count(i)
	if c==1:
		print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=list(map(int,input().split()))
for i in range(2):
    if S.count(S[i])==1:
        print(S[i])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A = 7
B = 5
C = 7
print("A = 7, B = 5, C = 7")
if A == B :
    print("Among A,B and C, C is the different number")
if A == C :
    print("Among A,B and C, B is the different number")
if B == C :
    print("Among A,B and C, A is the different number")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
abc = list(map(int, input().split()))
print(list(set(abc))[0])

Submission status: Wrong Answer

Solution code:
A, B, C = list(map(int, input().split()))
p = str(A) + str(B) + str(C)
m = list(set(p))
for i in range(len(m)):
    if p.count(m[i]) == 1 and m[i] != "-":
        print(m[i])

Submission status: Wrong Answer

Solution code:
A, B, C = list(map(int, input().split()))
p = str(A) + str(B) + str(C)
m = list(set(p))
for i in range(len(m)):
    if p.count(m[i]) == 1:
        print(m[i])

Submission status: Wrong Answer

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

if A == B:
    print(C)

elif B == C:
    print(A)

else:
    print(A)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = list(map(int, input().split()))
ss = sorted(s)
print(ss[2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B,C=map(int,input().split())
print(A+B+C-max(A,B,C)-min(A,B,C))

Submission status: Wrong Answer

Solution code:
l=list(map(int,input().split()))
print(sum(l)-max(l)-min(l))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = list(map(int,input().split()))
result = None
for i in set(x):
  if x.count(i)>1:
    result = i
print(result)

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split()))
A.sort()
print(A[-1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
lst = list(input())
for s in lst:
    if lst.count(s) == 1:
        print(s)
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution 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]))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
li = list(map(int, input().split()))
if li.count(li[0]) == 1:
    print(li[0])
if li.count(li[1]) == 1:
    print(li[1])
else:
    print(li[2])

Submission status: Wrong Answer

Solution code:
li = list(map(int, input().split()))
if li.count(li[0]) == 1:
    print(li[0])
else:
    print(li[1])

Submission status: Wrong Answer

Solution code:
li = list(map(int, input().split()))
li = list(set(li))
print(li[0])

Submission status: Wrong Answer

Solution code:
a=sorted(map(int,input().split()))
print(a[1])

Submission status: Wrong Answer

Solution code:
A, B, C = [int(x) for x in input().split()]
if A == B:
    print(A)
elif A == C:
    print(B)
else:
    print(C)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
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")

Submission status: Wrong Answer

Solution code:
a,b,t=map(int,input().split())
print(t//a*b)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
B = [0] * 101
A = list(map(int, input().split()))
for a in A:
  B[a] += 1
print(B.index(1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split());print(a+c-b)

Submission status: Wrong Answer

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

print( C if A == B else A )

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s=list(map(int,input().split()))
print(sum(s)-min(s)-max(s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from collections import Counter
print(Counter(input()).most_common(2)[1][0])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#coding:utf-8
n=[int(i) for i in input().split()]
print(n.count(n[0]))
if(n.count(n[0])==1):
  print(n[0])
elif(n.count(n[1])==1):
  print(n[1])
else:
  print(n[2])

Submission status: Wrong Answer

Solution 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])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if(B is C):print(A)

if(C is A):print(B)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = list(map(int, input().split()))
d = {}
for n in l:
    if n in d:
        print(n)
    else:
        d[n] = 1

Submission status: Wrong Answer

Solution code:
a=list(input())
a.sort()
print(a[4] if a[2]==a[3] else a[2])

Submission status: Wrong Answer

Solution code:
a=sorted(list(input()))
print(a[0] if a[0]!=a[1] else a[2])

Submission status: Wrong Answer

Solution code:
s=list(input())
a=[i for i in set(s) if s.count(i)>1]
print(a[0])

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
s=[a,b,c]
s.sort()
print(s[2])

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
rng1 = -100
rng2 = 101
#print(input().split())
inp = [int(i) for i in input().split()]
print(inp)
x, y, z = [inp[i] for i in range(len(inp))]
print("x={},y={},z={}".format(x,y,z))

def dif1(x, y ,z):
    if not isinstance(x, int) or not isinstance(y, int) or not isinstance(z, int):
        return False
    if 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)

Submission status: Wrong Answer

Solution code:
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()))
main(argv)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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[2])
    

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as numpy
n = numpy.zeros(5, dtype='int8')

Submission status: Wrong Answer

Solution code:
num = input().split()
print(num)
for i in num:
    if num.count(i) == 1:
        print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import bisect,collections,copy,heapq,itertools,math,string
import sys
def I():
    #1 line 1 int
     return int(sys.stdin.readline().rstrip())
def LI():
    #1 line n int
     return list(map(int,sys.stdin.readline().rstrip().split()))
def S():
    #1 line 1 string
     return sys.stdin.readline().rstrip()
def LS():
    #1 line n strings
     return list(sys.stdin.readline().rstrip().split())


xs=LI()

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

Submission status: Accepted

Solution code:
import bisect,collections,copy,heapq,itertools,math,string
import sys
def I():
    # 1 line 1 int
    return int(sys.stdin.readline().rstrip())
def LI():
    # 1 line n ints
    return list(map(int,sys.stdin.readline().rstrip().split()))
def S():
    # 1 line 1 string
    return sys.stdin.readline().rstrip()
def LS():
    # 1 line n strings
    return list(sys.stdin.readline().rstrip().split())
def println(s):
    print(f"{s}\n")

# https://atcoder.jp/contests/abc075/tasks/abc075_a
xs  = LI()

if xs[0] == xs[1]:
    println(xs[2])
elif xs[0] == xs[2]:
    println(xs[1])
else:
    println(xs[0])

Submission status: Accepted

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

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

Submission status: Accepted

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

for i in range(3):
   if lst.count(lst[i]) == 1:
      print(lst[i])
      break

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# 075_a
A,B,C=map(int,input().split())
if (-100<=A and A<=100) and (-100<=B and B<=100) and (-100<=C and C<=100):
    if A==B:
        print(C)
    elif B==C:
        print(A)
    elif C==A:
        print(B)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(eval(input().replace(*" ^")))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l=list(map(int,input().split()))
from collections import Counter
l=list(Counter(l).most_common())
print(l[1][0])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ls = list(map(int,input().split()))
if ls[1] != ls[2] and ls[2] == ls[0]:
  print(ls[1])
if ls[0] != ls[1] and ls[1] == ls[2]:
  print(ls[0])
if ls[2] != ls[1] and ls[1] == ls[0]:
  print(ls[2])

Submission status: Accepted

Solution code:
s=list(map(int,input().split()))
i=set(s)
print(sum(i)-(sum(s)-sum(i)))