1 line
110 B
Python
1 line
110 B
Python
print((lambda a, b, c : c + (c - b) if a+c == 2*b else (a + c) - b)(*sorted(list(map(int, input().split()))))) |