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