{"raw_statement":[{"iden":"problem statement","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."},{"iden":"constraints","content":"*   All values in input are integers.\n*   $1 \\leq A, B, C \\leq 9$"},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$A$ $B$ $C$"},{"iden":"sample input 1","content":"1 5 2"},{"iden":"sample output 1","content":"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."},{"iden":"sample input 2","content":"9 9 9"},{"iden":"sample output 2","content":"108"},{"iden":"sample input 3","content":"6 6 7"},{"iden":"sample output 3","content":"82"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}