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.
from collections import Counter
print(Counter(input()).most_common(2)[1][0])
from collections import Counter
print(Counter(input().split()).most_common(2)[1][0])
