import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
Scanner in
= new Scanner
(System.
in); double r, rad, d, m, s, deg, min, sec;
r = in.nextDouble();
if (r<0) rad=-r;
else rad=r;
double dd
= Math.
floor(d
); deg= dd%360;
if ( r < 0 ) deg=-deg;
double mm
= Math.
floor(m
); double ss
= Math.
round(s
); System.
out.
printf("Ответ: %.0f радиан = %.0f°%.0f'%.0f˝",r,deg,min,sec
); }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU2Nhbm5lciBpbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJZG91YmxlIHIsIHJhZCwgZCwgbSwgcywgZGVnLCBtaW4sIHNlYzsgCgkJciA9IGluLm5leHREb3VibGUoKTsKCQlpZiAocjwwKSByYWQ9LXI7CgkJZWxzZSByYWQ9cjsKCQlkID0gcmFkICogMTgwIC8gTWF0aC5QSTsKCQltPShkLU1hdGguZmxvb3IoZCkpKjYwOwoJCXM9KG0tTWF0aC5mbG9vcihtKSkqNjA7CgkJZG91YmxlIGRkID0gTWF0aC5mbG9vcihkKTsKCQlkZWc9IGRkJTM2MDsKCQlpZiAoIHIgPCAwICkgZGVnPS1kZWc7CgkJZG91YmxlIG1tID0gTWF0aC5mbG9vcihtKTsKCQltaW49TWF0aC5hYnMobW0pOwoJCWRvdWJsZSBzcyA9IE1hdGgucm91bmQocyk7CgkJc2VjPU1hdGguYWJzKHNzKTsKCQlTeXN0ZW0ub3V0LnByaW50Zigi0J7RgtCy0LXRgjogJS4wZiDRgNCw0LTQuNCw0L0gPSAlLjBmwrAlLjBmJyUuMGbLnSIscixkZWcsbWluLHNlYyk7Cgl9Cn0=