include <btis/stdc++.h>
using namespace std; long long a, b, n, x, y, z;
int main(void) {
cin >> n >> x >> y >> a >> b;
if (a > x) {
cout << "NO";
return 0;;
}
if (b > y) {
cout << "NO";
return 0;
}
if (a * 3 + b * 4 <= n) {
cout << "YES";
}
if (a * 3 + b * 4 > n) {
cout << "NO";
}
return 0;
}
69696969669696969