#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, x;
  long long sum = 0, res1, res2;
  cin >> n >> m >> x;
  bool st = 0;
  for (int i = 0; i < n; i++) {
    if (m * i < n) {
      if ((n - m * i) % x == 0) {
        st = 1;
        res1 = i;
        res2 = (n - m * i) / x;
        break;
      }
    }
    if (x * i < n) {
      if ((n - x * i) % m == 0) {
        st = 1;
        res2 = i;
        res1 = (n - x * i) / m;
        break;
      }
    }
  }
  if (st)
    cout << "YES\n" << res1 << " " << res2 << '\n';
  else
    cout << "NO\n";
  return 0;
}
