#include <stdio.h>
int main(void)
{
double a, b, p, q, r, s;
scanf("%lf %lf %lf %lf %lf %lf", &a, &b, &p, &q, &r, &s);
printf(
(a >= p && a >= r && b >= (q + s)) || // Дома стоят вдоль b (4 варианта)
(a >= q && a >= r && b >= (p + s)) ||
(a >= p && a >= s && b >= (q + r)) ||
(a >= q && a >= s && b >= (p + r)) ||
(b >= p && b >= r && a >= (q + s)) || // Дома стоят вдоль a (4 варианта)
(b >= q && b >= r && a >= (p + s)) ||
(b >= p && b >= s && a >= (q + r)) ||
(b >= q && b >= s && a >= (p + r)) ? "Yes" : "No\n");
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiAKaW50IG1haW4odm9pZCkgCnsKCWRvdWJsZSBhLCBiLCBwLCBxLCByLCBzOwoJc2NhbmYoIiVsZiAlbGYgJWxmICVsZiAlbGYgJWxmIiwgJmEsICZiLCAmcCwgJnEsICZyLCAmcyk7CiAgIAlwcmludGYoCiAgIAkJKGEgPj0gcCAmJiBhID49IHIgJiYgYiA+PSAocSArIHMpKSB8fCAvLyDQlNC+0LzQsCDRgdGC0L7Rj9GCINCy0LTQvtC70YwgYiAoNCDQstCw0YDQuNCw0L3RgtCwKQogICAJCShhID49IHEgJiYgYSA+PSByICYmIGIgPj0gKHAgKyBzKSkgfHwKICAgCQkoYSA+PSBwICYmIGEgPj0gcyAmJiBiID49IChxICsgcikpIHx8CiAgIAkJKGEgPj0gcSAmJiBhID49IHMgJiYgYiA+PSAocCArIHIpKSB8fAogICAJCShiID49IHAgJiYgYiA+PSByICYmIGEgPj0gKHEgKyBzKSkgfHwgLy8g0JTQvtC80LAg0YHRgtC+0Y/RgiDQstC00L7Qu9GMIGEgKDQg0LLQsNGA0LjQsNC90YLQsCkKICAgCQkoYiA+PSBxICYmIGIgPj0gciAmJiBhID49IChwICsgcykpIHx8CiAgIAkJKGIgPj0gcCAmJiBiID49IHMgJiYgYSA+PSAocSArIHIpKSB8fAogICAJCShiID49IHEgJiYgYiA+PSBzICYmIGEgPj0gKHAgKyByKSkgPyAiWWVzIiA6ICJOb1xuIik7Cn0K