input = require('fs').readFileSync(process.stdin.fd, 'utf8')
lines = input.split('\n')
line = lines.shift().split(' ')
A = line[0]
B = line[1]
C = line[2]

if (A - B >= C) {
  console.log(0)
} else {
  console.log(C - (A - B))
}