求个解python中相关的编程问题

img

a,b,c=map(int,input().split())
if a==b:
    print(c)
else:
    if a==c:
        print(b)
    else:
        print(a)
a=input()
b=a.split(' ')
if b[0]!=b[1] and b[0]!=b[2]:
    print('A')
elif b[1]!=b[0] and b[1] !=b[2]:
    print('B')
else:
    print('C')