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