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