{"raw_statement":[{"iden":"problem statement","content":"Given is a point $(x_1,\\ldots,x_N)$ in an $N$\\-dimensional space.\nFind the Manhattan distance, Euclidian distance, and Chebyshev distance between this point and the origin. Here, each of them is defined as follows:\n\n*   The Manhattan distance: $|x_1|+\\ldots+|x_N|$\n*   The Euclidian distance: $\\sqrt{|x_1|^2+\\ldots+|x_N|^2}$\n*   The Chebyshev distance: $\\max(|x_1|,\\ldots,|x_N|)$"},{"iden":"constraints","content":"*   $1 \\leq N \\leq 10^5$\n*   $-10^5 \\leq x_i \\leq 10^5$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$\n$x_1$ $\\ldots$ $x_N$"},{"iden":"sample input 1","content":"2\n2 -1"},{"iden":"sample output 1","content":"3\n2.236067977499790\n2\n\nEach of the distances is computed as follows:\n\n*   The Manhattan distance: $|2|+|-1|=3$\n*   The Euclidian distance: $\\sqrt{|2|^2+|-1|^2}=2.236067977499789696\\ldots$\n*   The Chebyshev distance: $\\max(|2|,|-1|)=2$"},{"iden":"sample input 2","content":"10\n3 -1 -4 1 -5 9 2 -6 5 -3"},{"iden":"sample output 2","content":"39\n14.387494569938159\n9"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}