#include <bits/stdc++.h>
using namespace std;
const double pi = acos(-1);
double w, h, alpha;
double a, b, c, d, e, f;
double x, y;
int main() {
  ios::sync_with_stdio(0);
  cin >> w >> h >> alpha;
  if (w < h) swap(w, h);
  alpha = min(alpha, 180 - alpha);
  if (alpha == 0) {
    return printf("%.9f\n", 1.0 * w * h), 0;
  }
  double Sin = sin(alpha * pi / 180);
  double Cos = cos(alpha * pi / 180);
  double Tan = tan(alpha * pi / 180);
  double tmp = 1.0 + 1 / Cos;
  y = (h - Tan * w / tmp) / (tmp - Tan * Tan / tmp);
  x = h - tmp * y;
  if (tan((alpha * pi / 180) / 2) < h / w)
    printf("%.9f\n", (w * h - x * x / Tan - y * y * Tan));
  else {
    printf("%.9f\n", (w * h - (w - h / Sin) * h));
  }
  return 0;
}
