import java.util.*;

public class Main {
  public static void main(String[] args) {
    int A, B, C;
    try(Scanner sc = new Scanner(System.in)) {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    }
    int answer = C - (int)(Math.min(C, A-B));
    System.out.println(answer);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    int A, B, C;
    try(Scanner sc = new Scanner(System.in)) {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    }
    int answer = C - (int)(Math.min(C, A-B));
    System.out.println(answer);
  }
} Main public static void main(String[] args) {
    int A, B, C;
    try(Scanner sc = new Scanner(System.in)) {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    }
    int answer = C - (int)(Math.min(C, A-B));
    System.out.println(answer);
  } main {
    int A, B, C;
    try(Scanner sc = new Scanner(System.in)) {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    }
    int answer = C - (int)(Math.min(C, A-B));
    System.out.println(answer);
  } int A A B B C; C try(Scanner sc = new Scanner(System.in)) {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    } {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) A = sc.nextInt() A sc.nextInt() sc.nextInt sc B = sc.nextInt() B sc.nextInt() sc.nextInt sc C = sc.nextInt() C sc.nextInt() sc.nextInt sc int answer = C - (int)(Math.min(C, A-B)); answer C - (int)(Math.min(C, A-B)) C (int)(Math.min(C, A-B)) Math.min Math C A-B A B System.out.println(answer) System.out.println System.out System System.out answer String[] args args public class Main {
  public static void main(String[] args) {
    int A, B, C;
    try(Scanner sc = new Scanner(System.in)) {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    }
    int answer = C - (int)(Math.min(C, A-B));
    System.out.println(answer);
  }
} public class Main {
  public static void main(String[] args) {
    int A, B, C;
    try(Scanner sc = new Scanner(System.in)) {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    }
    int answer = C - (int)(Math.min(C, A-B));
    System.out.println(answer);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    int A, B, C;
    try(Scanner sc = new Scanner(System.in)) {
      A = sc.nextInt();
      B = sc.nextInt();
      C = sc.nextInt();
    }
    int answer = C - (int)(Math.min(C, A-B));
    System.out.println(answer);
  }
}