{"problem":{"name":"Transfer","description":{"content":"We have two bottles for holding water. Bottle $1$ can hold up to $A$ milliliters of water, and now it contains $B$ milliliters of water. Bottle $2$ contains $C$ milliliters of water. We will transfer ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc136_a"},"statements":[{"statement_type":"Markdown","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$?\n\n## Constraints\n\n*   All values in input are integers.\n*   $1 \\leq B \\leq A \\leq 20$\n*   $1 \\leq C \\leq 20$\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$A$ $B$ $C$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc136_a","tags":[],"sample_group":[["6 4 3","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$."],["8 3 9","4"],["12 3 7","0"]],"created_at":"2026-03-03 11:01:13"}}