{"problem":{"name":"Maximize the Formula","description":{"content":"You have decided to give an allowance to your child depending on the outcome of the game that he will play now. The game is played as follows: *   There are three \"integer panels\", each with a digit ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc110_a"},"statements":[{"statement_type":"Markdown","content":"You have decided to give an allowance to your child depending on the outcome of the game that he will play now.\nThe game is played as follows:\n\n*   There are three \"integer panels\", each with a digit between $1$ and $9$ (inclusive) printed on it, and one \"operator panel\" with a `+` printed on it.\n*   The player should construct a formula of the form $X + Y$, by arranging the four panels from left to right. (The operator panel should not be placed at either end of the formula.)\n*   Then, the amount of the allowance will be equal to the resulting value of the formula.\n\nGiven the values $A, B$ and $C$ printed on the integer panels used in the game, find the maximum possible amount of the allowance.\n\n## Constraints\n\n*   All values in input are integers.\n*   $1 \\leq A, B, C \\leq 9$\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":"abc110_a","tags":[],"sample_group":[["1 5 2","53\n\nThe amount of the allowance will be $53$ when the panels are arranged as `52+1`, and this is the maximum possible amount."],["9 9 9","108"],["6 6 7","82"]],"created_at":"2026-03-03 11:01:14"}}