{"raw_statement":[{"iden":"problem statement","content":"We have two bottles for holding water.\nBottle $1$ can hold up to $A$ milliliters of water, and now it contains $B$ milliliters of water.\nBottle $2$ contains $C$ milliliters of water.\nWe will transfer water from Bottle $2$ to Bottle $1$ as much as possible.\nHow much amount of water will remain in Bottle $2$?"},{"iden":"constraints","content":"*   All values in input are integers.\n*   $1 \\leq B \\leq A \\leq 20$\n*   $1 \\leq C \\leq 20$"},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$A$ $B$ $C$"},{"iden":"sample input 1","content":"6 4 3"},{"iden":"sample output 1","content":"1\n\nWe will transfer two milliliters of water from Bottle $2$ to Bottle $1$, and one milliliter of water will remain in Bottle $2$."},{"iden":"sample input 2","content":"8 3 9"},{"iden":"sample output 2","content":"4"},{"iden":"sample input 3","content":"12 3 7"},{"iden":"sample output 3","content":"0"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}