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