{"problem":{"name":"Buttons","description":{"content":"There are two buttons, one of size $A$ and one of size $B$. When you press a button of size $X$, you get $X$ coins and the size of that button decreases by $1$. You will press a button twice. Here, yo","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc124_a"},"statements":[{"statement_type":"Markdown","content":"There are two buttons, one of size $A$ and one of size $B$.\nWhen you press a button of size $X$, you get $X$ coins and the size of that button decreases by $1$.\nYou will press a button twice. Here, you can press the same button twice, or press both buttons once.\nAt most how many coins can you get?\n\n## Constraints\n\n*   All values in input are integers.\n*   $3 \\leq A, B \\leq 20$\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$A$ $B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc124_a","tags":[],"sample_group":[["5 3","9\n\nYou can get $5 + 4 = 9$ coins by pressing the button of size $5$ twice, and this is the maximum result."],["3 4","7"],["6 6","12"]],"created_at":"2026-03-03 11:01:14"}}