{"raw_statement":[{"iden":"problem statement","content":"Given are three positive integers $A$, $B$, and $C$. Compute the following value modulo $998244353$:\n$\\sum_{a=1}^{A} \\sum_{b=1}^{B} \\sum_{c=1}^{C} abc$"},{"iden":"constraints","content":"*   $1 \\leq A, B, C \\leq 10^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 2 3"},{"iden":"sample output 1","content":"18\n\nWe have: $(1 \\times 1 \\times 1) + (1 \\times 1 \\times 2) + (1 \\times 1 \\times 3) + (1 \\times 2 \\times 1) + (1 \\times 2 \\times 2) + (1 \\times 2 \\times 3) = 1 + 2 + 3 + 2 + 4 + 6 = 18$."},{"iden":"sample input 2","content":"1000000000 987654321 123456789"},{"iden":"sample output 2","content":"951633476\n\nBe sure to compute the value modulo $998244353$."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}