#include <bits/stdc++.h>
using namespace std;
inline void Solve() {
  long long c = 0, a = 0, b = 0;
  cin >> c >> a >> b;
  for (long long x = 0;; x++) {
    if (c - a * x < 0) break;
    if ((c - a * x) % b == 0) {
      long long y = (c - a * x) / b;
      cout << "YES\n";
      cout << x << ' ' << y;
      return;
    }
  }
  cout << "NO";
}
signed main() {
  cout << fixed << setprecision(20);
  Solve();
  return 0;
}
