/*/ Author---> adityapathak1630 /*/
/*/ Copyright © 2020 Aditya Pathak. All rights reserved. /*/
/*/_____________________________________________08-08-2019_____I WILL NEVER FORGET__________________________________________/*/
 
#ifdef Aditya  
#include "ADITYA.h"    
#else
#endif
 
#include "bits/stdc++.h" 

using namespace std; 

typedef long long ll;
 
long long k, l, r, t, x, y;
bool viz[1000002];
 
int main()
{
  ios_base::sync_with_stdio(false);
  cin.tie(0); 
  cout.tie(0);

  cin>>k>>l>>r>>t>>x>>y;
  if (x>y) 
  {
    if (r-k<y) 
    {
      k-=x; t--;
    }
    if (k<l) 
    {
      cout<<"NO\n";
      return 0;
    }
    if (-(x-y)<(l-k)/t) 
    { 
      cout<<"NO\n";
      return 0;
    }
    else
      cout<<"YES\n";
  }
  else 
  {
    long long days = 0;
    while (1) 
    {
      days+=(k-l)/x;
      k-=(k-l)/x*x;
      if (viz[k%x] || days>=t) 
      {
        cout<<"YES\n";
        return 0;
      }
      viz[k%x]=1;
      if (k+y<=r)
        k+=y;
      else 
      {
        cout<<"NO\n";
        return 0;
      }
    }
  }
  return 0;
}