#include<bits/stdc++.h>
using namespace std;
long long a,b,c,d;
int main(){
cin >> a >> b >> c >> d;
if(d >= a * 2 + b * 5 + c * 3){
cout << "Yes\n";
cout << d - ( a * 2 + b * 5 + c * 3 );
}
else{
cout << "No\n";
cout << abs(d-(a*2+b*5+c*3));
}
return 0;
}
~~ 求关~~