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