#include <bits/stdc++.h>
using namespace std;
double n, i, x, r, R, pi;
bool eq(double A, double B) {
  double diff;
  diff = A - B;
  return (diff < 0.0000001) && (-diff < 0.0000001);
}
int main() {
  cin >> n >> R >> r;
  if (n == 1)
    if (r <= R) return cout << "YES", 0;
  if (r > R) return cout << "NO", 0;
  if (2 * r > R && n > 1) return cout << "NO", 0;
  x = R / (1 + 1 / sin(acos(-1) / n));
  if (eq(x, r)) return cout << "YES", 0;
  if (x >= r)
    cout << "YES";
  else
    cout << "NO";
}
