import java.util.*;
import java.lang.*;
import java.io.*;
class Brovko
{
{
double a, b, p, q, r, s;
Scanner in
= new Scanner
(System.
in); a=in.nextDouble();
b=in.nextDouble();
p=in.nextDouble();
q=in.nextDouble();
r=in.nextDouble();
s=in.nextDouble();
(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");
}
}
CmltcG9ydCBqYXZhLnV0aWwuKjsKaW1wb3J0IGphdmEubGFuZy4qOwppbXBvcnQgamF2YS5pby4qOwoKY2xhc3MgQnJvdmtvCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJZG91YmxlIGEsIGIsIHAsIHEsIHIsIHM7CglTY2FubmVyIGluID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCWE9aW4ubmV4dERvdWJsZSgpOwoJYj1pbi5uZXh0RG91YmxlKCk7CglwPWluLm5leHREb3VibGUoKTsKCXE9aW4ubmV4dERvdWJsZSgpOwoJcj1pbi5uZXh0RG91YmxlKCk7CglzPWluLm5leHREb3VibGUoKTsKICAgCVN5c3RlbS5vdXQucHJpbnRmKAogICAJCShhID49IHAgJiYgYSA+PSByICYmIGIgPj0gKHEgKyBzKSkgfHwgLy8g0JTQvtC80LAg0YHRgtC+0Y/RgiDQstC00L7Qu9GMIGIgKDQg0LLQsNGA0LjQsNC90YLQsCkKICAgCQkoYSA+PSBxICYmIGEgPj0gciAmJiBiID49IChwICsgcykpIHx8CiAgIAkJKGEgPj0gcCAmJiBhID49IHMgJiYgYiA+PSAocS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