
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner stdIn=new Scanner(System.in);
        byte a=stdIn.nextByte();
        byte b=stdIn.nextByte();
        byte c=stdIn.nextByte();
        c-=a-b;
        if(c>0){
            System.out.println(c);
        }
        else System.out.println(0);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner stdIn=new Scanner(System.in);
        byte a=stdIn.nextByte();
        byte b=stdIn.nextByte();
        byte c=stdIn.nextByte();
        c-=a-b;
        if(c>0){
            System.out.println(c);
        }
        else System.out.println(0);
    }
} Main public static void main(String[] args){
        Scanner stdIn=new Scanner(System.in);
        byte a=stdIn.nextByte();
        byte b=stdIn.nextByte();
        byte c=stdIn.nextByte();
        c-=a-b;
        if(c>0){
            System.out.println(c);
        }
        else System.out.println(0);
    } main {
        Scanner stdIn=new Scanner(System.in);
        byte a=stdIn.nextByte();
        byte b=stdIn.nextByte();
        byte c=stdIn.nextByte();
        c-=a-b;
        if(c>0){
            System.out.println(c);
        }
        else System.out.println(0);
    } Scanner stdIn=new Scanner(System.in); stdIn new Scanner(System.in) byte a=stdIn.nextByte(); a stdIn.nextByte() stdIn.nextByte stdIn byte b=stdIn.nextByte(); b stdIn.nextByte() stdIn.nextByte stdIn byte c=stdIn.nextByte(); c stdIn.nextByte() stdIn.nextByte stdIn c-=a-b c a-b a b if(c>0){
            System.out.println(c);
        }
        else System.out.println(0); c>0 c 0 {
            System.out.println(c);
        } System.out.println(c) System.out.println System.out System System.out c System.out.println(0) System.out.println System.out System System.out 0 String[] args args public class Main {
    public static void main(String[] args){
        Scanner stdIn=new Scanner(System.in);
        byte a=stdIn.nextByte();
        byte b=stdIn.nextByte();
        byte c=stdIn.nextByte();
        c-=a-b;
        if(c>0){
            System.out.println(c);
        }
        else System.out.println(0);
    }
} public class Main {
    public static void main(String[] args){
        Scanner stdIn=new Scanner(System.in);
        byte a=stdIn.nextByte();
        byte b=stdIn.nextByte();
        byte c=stdIn.nextByte();
        c-=a-b;
        if(c>0){
            System.out.println(c);
        }
        else System.out.println(0);
    }
} Main

import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner stdIn=new Scanner(System.in);
        byte a=stdIn.nextByte();
        byte b=stdIn.nextByte();
        byte c=stdIn.nextByte();
        c-=a-b;
        if(c>0){
            System.out.println(c);
        }
        else System.out.println(0);
    }
}