#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, t, a, b, da, db, z, temp, flag, l, l1, l2, ans;
  cin >> x >> t >> a >> b >> da >> db;
  z = a + b - x;
  if (z < 0)
    cout << "NO" << endl;
  else if (z == 0 || x == 0)
    cout << "YES" << endl;
  else {
    l1 = -1000000000;
    l2 = -1000000000;
    if ((a - x) % da == 0) l1 = (a - x) / da;
    if ((b - x) % db == 0) l2 = (b - x) / db;
    if (l1 >= 0 && l2 >= 0) {
      if (l1 < l2)
        ans = l1;
      else
        ans = l2;
      if (ans < t)
        cout << "YES" << endl;
      else
        cout << "NO" << endl;
    } else if (l1 >= 0 || l2 >= 0) {
      if (l1 >= 0) {
        if (l1 < t)
          cout << "YES" << endl;
        else
          cout << "NO" << endl;
      } else {
        if (l2 < t)
          cout << "YES" << endl;
        else
          cout << "NO" << endl;
      }
    } else {
      if (da < db) {
        temp = da;
        da = db;
        db = temp;
      }
      flag = 0;
      l = 0;
      while (1) {
        if (z % db == 0) {
          if (l < t && z / db < t) {
            flag = 1;
            break;
          }
        }
        z -= da;
        l++;
        if (l == t || z < 0) break;
      }
      if (flag == 1)
        cout << "YES" << endl;
      else
        cout << "NO" << endl;
    }
  }
  return 0;
}
