import java.util.Scanner;
import java.lang.Math;
class Ideone
{
{
double a, b, z, s;
Scanner scan
= new Scanner
(System.
in); a = scan.nextDouble();
b = scan.nextDouble();
z = scan.nextDouble();
if ((1 / (Math.
tan (z
* Math.
PI / 180)) > a
/ Math.
sqrt(2) / b
) && (z
!= 0) && (z
!= 90)){ s
= a
* a
/ 2 / Math.
cos (z
* Math.
PI / 180); }
else if (z == 0) {
s = 0;
}
else if (z == 90) {
s
= a
* b
* Math.
sqrt(2); }
else {
}
}
}
aW1wb3J0IGphdmEudXRpbC5TY2FubmVyOwppbXBvcnQgamF2YS5sYW5nLk1hdGg7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7Cglkb3VibGUgYSwgYiwgeiwgczsKICAgIFNjYW5uZXIgc2NhbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CiAgICBhID0gc2Nhbi5uZXh0RG91YmxlKCk7CiAgICBiID0gc2Nhbi5uZXh0RG91YmxlKCk7CiAgICB6ID0gc2Nhbi5uZXh0RG91YmxlKCk7CiAgICBpZiAoKDEgLyAoTWF0aC50YW4gKHogKiBNYXRoLlBJIC8gMTgwKSkgPiBhIC8gTWF0aC5zcXJ0KDIpIC8gYikgJiYgKHogIT0gMCkgJiYgKHogIT0gOTApKXsKICAgICAgICBzID0gYSAqIGEgLyAyIC8gTWF0aC5jb3MgKHogKiBNYXRoLlBJIC8gMTgwKTsKICAgIH0KICAgIGVsc2UgaWYgKHogPT0gMCkgewogICAgICAgIHMgPSAwOwogICAgfQogICAgZWxzZSBpZiAoeiA9PSA5MCkgewogICAgICAgIHMgPSBhICogYiAqIE1hdGguc3FydCgyKTsKICAgIH0KICAgIGVsc2UgewogICAgICAgIHMgPSAoYSAqIE1hdGguc3FydCgyKSAtIGIgKiAxIC8gKE1hdGgudGFuICh6ICogTWF0aC5QSSAvIDE4MCkpKSAqIGIgLyBNYXRoLnNpbiAoeiAqIE1hdGguUEkgLyAxODApOwogICAgfQogICAgcyA9IERvdWJsZS5wYXJzZURvdWJsZShTdHJpbmcuZm9ybWF0KCIlLjNmIiwgcykpOwogICAgU3lzdGVtLm91dC5wcmludChzKTsKCX0KfQ==