#include <bits/stdc++.h>
using namespace std;
int n, a, b, d;
long long lower, upper, t, A, B, x, y;
void gcd(int a, int b) {
  if (b == 0) {
    d = a;
    x = 1;
    y = 0;
    return;
  }
  gcd(b, a % b);
  long long x0 = y;
  long long y0 = x - (a / b) * y;
  x = x0;
  y = y0;
}
long long Ceil(long long x, long long y) {
  if (x >= 0) return (x + y - 1) / y;
  return x / y;
}
long long Floor(long long x, long long y) {
  if (x >= y) return x / y;
  return -Ceil(abs(x), y);
}
int main() {
  scanf("%d%d%d", &n, &a, &b);
  gcd(a, b);
  if (n % d)
    puts("NO");
  else {
    x *= n / d;
    y *= n / d;
    lower = Ceil(-x * d, b);
    upper = Floor(y * d, a);
    if (lower > upper)
      puts("NO");
    else {
      t = upper;
      A = x + b / d * t;
      B = y - a / d * t;
      puts("YES");
      printf("%lld %lld\n", A, B);
    }
  }
  return 0;
}
