#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, R, r;
  while (~scanf("%d%d%d", &n, &R, &r)) {
    if (r > R) {
      if (n == 0)
        printf("YES\n");
      else
        printf("NO\n");
      continue;
    } else if (r == R) {
      if (n <= 1)
        printf("YES\n");
      else
        printf("NO\n");
      continue;
    } else if (4 * r > 2 * R) {
      if (n <= 1)
        printf("YES\n");
      else
        printf("NO\n");
      continue;
    }
    double m = (2.0 * (R - r) * (R - r) - (2.0 * r) * (2.0 * r)) /
               (2.0 * (R - r) * (R - r));
    double a = acos(m);
    if ((n - 2.0 * acos(-1.0) / a) < 1e-10)
      printf("YES\n");
    else
      printf("NO\n");
  }
  return 0;
}
