Spadework 2020. 1. 29. 15:39

* Solved 기준 브론즈4 단순 풀이

n, m, k = map(int, input().split())
print(k+n-m if m>k else m+n-k)