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