#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n, a, b;
  cin >> n >> a >> b;
  bool f = 0;
  for (int x = 0; x <= n; x++) {
    if ((n - a * x) % b == 0) {
      if (a * x <= n) {
        f = 1;
        b = (n - a * x) / b, a = x;
        break;
      } else
        break;
    }
  }
  if (f == 0)
    cout << "NO" << endl;
  else
    cout << "YES" << endl << a << " " << b << endl;
  return 0;
}
