#include<bits/stdc++.h>
using namespace std;
int main()
{
bool e = true, f = true, g = true, h = true;
int a, b, c, d;
int m, k;
cin >> a >> b >> c >> d;
cin >> m >> k;
if(a - m > k) e = false;
if(b - m > k) f = false;
if(c - m > k) g = false;
if(d - m > k) h = false;
}