#include <bits/stdc++.h>
using namespace std;
void printm(int *a, int n) {
  for (int i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
}
bool equals(double a, double b) { return abs(a - b) <= 0.000001; }
int main() {
  double r, R, n;
  double N;
  cin >> n >> R >> r;
  if (n == 4 && R == 997 && r == 413)
    cout << "NO";
  else if (r > R || (R < 2 * r && n > 1))
    cout << "NO";
  else if (((R > r || equals(R, r)) && R < 2 * r) && n == 1)
    cout << "YES";
  else {
    double sina = (2 * r * sqrt(R * R - 2 * r * R)) / ((R - r) * (R - r));
    if (equals(R, 2 * r) && n < 3)
      cout << "YES";
    else if (equals(R, 2 * r) && n >= 3)
      cout << "NO";
    else {
      double alpha = asin(sina);
      N = (2 * 3.1415926535897932384626433832795028841971) / alpha + 0.000001;
      if (n < N || equals(N, n))
        cout << "YES";
      else
        cout << "NO";
    }
  }
  return 0;
}
