#include <bits/stdc++.h>
using namespace std;
double w, h, alpha;
int main() {
  scanf("%lf%lf%lf", &w, &h, &alpha);
  if (h > w) swap(h, w);
  if (alpha > 90) alpha = 180 - alpha;
  double res = 0;
  double phi = atan(h / w);
  alpha = alpha * M_PI / 180;
  if (2 * phi >= alpha) {
    double x1 = (w - h * sin(alpha) / (cos(alpha) + 1));
    double x2 = (h - w * sin(alpha) / (cos(alpha) + 1));
    res = (h * x1 + w * x2) / (2 * cos(alpha));
  } else
    res = h * h / sin(alpha);
  printf("%.9lf", res);
  return 0;
}
