{"raw_statement":[{"iden":"problem statement","content":"Given are integers $a,b,c$ and $d$. If $x$ and $y$ are integers and $a \\leq x \\leq b$ and $c\\leq y \\leq d$ hold, what is the maximum possible value of $x \\times y$?"},{"iden":"constraints","content":"*   $-10^9 \\leq a \\leq b \\leq 10^9$\n*   $-10^9 \\leq c \\leq d \\leq 10^9$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$a$ $b$ $c$ $d$"},{"iden":"sample input 1","content":"1 2 1 1"},{"iden":"sample output 1","content":"2\n\nIf $x = 1$ and $y = 1$ then $x \\times y = 1$. If $x = 2$ and $y = 1$ then $x \\times y = 2$. Therefore, the answer is $2$."},{"iden":"sample input 2","content":"3 5 -4 -2"},{"iden":"sample output 2","content":"\\-6\n\nThe answer can be negative."},{"iden":"sample input 3","content":"\\-1000000000 0 -1000000000 0"},{"iden":"sample output 3","content":"1000000000000000000"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}