#include <bits/stdc++.h>
using namespace std;
int main() {
  double w, h, th;
  cin >> w >> h >> th;
  if (th > 90) th = 180 - th;
  th = acos(-1.0) * th / 180.0;
  if (w < h) swap(w, h);
  if (th <= 1e-9) {
    printf("%.7f\n", w * h);
    return 0;
  }
  double a = 1 / tan(th) + 1 / sin(th);
  double ans;
  if (h * a <= w)
    ans = h * h / sin(th);
  else {
    double y = (a * h - w) / (a * a - 1);
    double x = h - a * y;
    ans = 2 * x * x / tan(th) + 2 * y * y / tan(th);
    ans = (2 * w * h - ans) / 2;
  }
  printf("%.7f\n", ans);
  return 0;
}
