{"problem":{"name":"Cats and Dogs","description":{"content":"There are a total of $A + B$ cats and dogs. Among them, $A$ are known to be cats, but the remaining $B$ are not known to be either cats or dogs. Determine if it is possible that there are exactly $X$ ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc094_a"},"statements":[{"statement_type":"Markdown","content":"There are a total of $A + B$ cats and dogs. Among them, $A$ are known to be cats, but the remaining $B$ are not known to be either cats or dogs.\nDetermine if it is possible that there are exactly $X$ cats among these $A + B$ animals.\n\n## Constraints\n\n*   $1 \\leq A \\leq 100$\n*   $1 \\leq B \\leq 100$\n*   $1 \\leq X \\leq 200$\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$A$ $B$ $X$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc094_a","tags":[],"sample_group":[["3 5 4","YES\n\nIf there are one cat and four dogs among the $B = 5$ animals, there are $X = 4$ cats in total."],["2 2 6","NO\n\nEven if all of the $B = 2$ animals are cats, there are less than $X = 6$ cats in total."],["5 3 2","NO\n\nEven if all of the $B = 3$ animals are dogs, there are more than $X = 2$ cats in total."]],"created_at":"2026-03-03 11:01:14"}}