#include <bits/stdc++.h>
using namespace std;
int main(){
int x,y,z,q;
cin >> x >> y >> z >> q;
if((2 * x + 5 * y + 3 * z) <= q){
cout << "Yes" << endl;
cout << q - (2 * x + 5 * y + 3 * z);
}
else{
cout << "No" << endl;
cout << (2 * x + 5 * y + 3 * z) - q;
}
return 0;
}