2026-03-27 23:45:30 +09:00

1 line
79 B
Python

print((lambda n,m,k:min(m,k) + min(n-m,n-k))(*list(map(int, input().split()))))