#include <bits/stdc++.h>
using namespace std;
int main() {
  double n, x, a, b;
  long long ans;
  scanf("%lf %lf %lf", &n, &a, &b);
  int count = 0, i;
  for (i = 0; i <= n; i++) {
    x = (n - (i * a)) / b;
    if (x < 0) continue;
    ans = (long long)x;
    if (ans == x) {
      count = 1;
      break;
    }
  }
  if (count == 0)
    cout << "NO" << endl;
  else {
    cout << "YES" << endl;
    cout << (long long)i << " " << (long long)x << endl;
  }
  return 0;
}
