import java.util.*;
import java.lang.*;
import java.io.*;
import java.lang.Math;
class Ideone
{
{
Scanner in
=new Scanner
(System.
in); int n, m;
n=in.nextInt();
double A[]=new double[n];
double B[]=new double[n];
double coq, s1, s2, s3, deg;
s1=0;
s2=0;
s3=0;
for(int j=0; j<n; j++) //Инициализация А
A[j]=in.nextDouble();
for(int j=0; j<n; j++) //Инициализация В
B[j]=in.nextDouble();
for(int i=0; i<n; i++){ // Вычисление каждой суммы указанной в формуле
s1+=A[i]*B[i];
s2+=A[i]*A[i];
s3+=B[i]*B[i];
}
System.
out.
printf("Rad: %8.6f \n", deg
); System.
out.
printf("Deg: %8.4f",
(deg
*180)/3.1417); }
}
CmltcG9ydCBqYXZhLnV0aWwuKjsKaW1wb3J0IGphdmEubGFuZy4qOwppbXBvcnQgamF2YS5pby4qOwppbXBvcnQgamF2YS5sYW5nLk1hdGg7CmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTY2FubmVyIGluPW5ldyBTY2FubmVyKFN5c3RlbS5pbik7CiAgICAJaW50IG4sIG07CiAgICAJbj1pbi5uZXh0SW50KCk7CiAgICAJZG91YmxlIEFbXT1uZXcgZG91YmxlW25dOyAKICAgIAlkb3VibGUgQltdPW5ldyBkb3VibGVbbl07IAogICAgCWRvdWJsZSBjb3EsIHMxLCBzMiwgczMsIGRlZzsKICAgIAlzMT0wOwogICAgCXMyPTA7CiAgICAJczM9MDsKICAgIAlmb3IoaW50IGo9MDsgajxuOyBqKyspIC8v0JjQvdC40YbQuNCw0LvQuNC30LDRhtC40Y8g0JAKCQkJQVtqXT1pbi5uZXh0RG91YmxlKCk7CgkJZm9yKGludCBqPTA7IGo8bjsgaisrKSAvL9CY0L3QuNGG0LjQsNC70LjQt9Cw0YbQuNGPINCSCgkJCUJbal09aW4ubmV4dERvdWJsZSgpOwoJCWZvcihpbnQg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