{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\n\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027$$$$$$\u0027, right: \u0027$$$$$$\u0027, display: true},\n {left: \u0027$$$\u0027, right: \u0027$$$\u0027, display: false},\n {left: \u0027$$\u0027, right: \u0027$$\u0027, display: true},\n {left: \u0027$\u0027, right: \u0027$\u0027, display: false}\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"Due to quarantine, Exams are online. Yasser -being a lazy student- didn\u0027t study and now his maths test is about to start. Yasser\u0027s teacher love to write this question every test. Given three numbers Yasser should choose arithmetic expressions (+ or *) and use brackets that will result in the largest number possible can be obtained from given numbers. \u003cbr\u003e\u003cbr\u003e\n\nExample:\u003cbr\u003e\nif given numbers were 1, 2, 3 possible expressions can be: \u003cbr\u003e\n\u003cul\u003e \n \u003cli\u003e 1+2*3\u003d7 \u003c/li\u003e\n \u003cli\u003e 1*(2+3)\u003d5 \u003c/li\u003e\n \u003cli\u003e 1*2*3\u003d6 \u003c/li\u003e\n \u003cli\u003e (1+2)*3\u003d9 \u003c/li\u003e\n\u003c/ul\u003e\nClearly from the last example number 9 is the largest number. Note that you can\u0027t switch the order of the given number like 1*3*2. \u003cbr\u003e\nHelp Yasser to determine the largest number possible that can be obtained from the given numbers. "}},{"title":"Input","value":{"format":"HTML","content":"The first line: integer \u003cI\u003ea\u003c/I\u003e \u003cbr\u003e\nThe second line: integer \u003cI\u003eb\u003c/I\u003e \u003cbr\u003e\nThe third line: integer \u003cI\u003ec\u003c/I\u003e \u003cbr\u003e\n\u003cbr\u003e\nConstraints: (1 ≤ a, b, c ≤ 10)."}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003ePrint the maximum value of the expression that you can obtain.\u003c/p\u003e"}},{"title":"Examples","value":{"format":"HTML","content":"\u003cdiv class\u003d\"sample-test\"\u003e\n \u003cdiv class\u003d\"input\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Input\n \u003c/div\u003e\n \u003cpre\u003e1\u003cbr\u003e2\u003cbr\u003e3\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"output\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Output\n \u003c/div\u003e\n \u003cpre\u003e9\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"input\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Input\n \u003c/div\u003e\n \u003cpre\u003e2\u003cbr\u003e10\u003cbr\u003e3\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"output\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Output\n \u003c/div\u003e\n \u003cpre\u003e60\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n\u003c/div\u003e"}}]}