← Back to List

34236번: 숭고한에 어서오세요 ↗

Solutions

Python 3
65 B | 65 chars
input()
l = [*map(int, input().split())]
print(2 * l[-1] - l[-2])