#include <bits/stdc++.h>
using namespace std;
bool visited[1000001] = {0};
int main() {
  long long n, ans, a, b;
  cin >> n >> a >> b;
  long long init = n / a;
  if (n % a == 0) {
    cout << "YES" << endl;
    cout << n / a << " " << 0;
    return 0;
  }
  for (long long st = init; st >= 0; st--) {
    if ((n - a * st) % b == 0) {
      cout << "YES" << endl;
      cout << st << " " << (n - a * st) / b;
      return 0;
    }
  }
  cout << "NO" << endl;
  return 0;
}
