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