Skip to content

Baekjoon 16204

1. Problem

문제 확인하기

2. Solution

N, M, K = map(int, input().split())
print(min(M, K) + min(N-M, N-K))