#include<bits/stdc++.h>
using namespace std;
const int maxn=1e7+9;
int n,m,k,dp[maxn],a1,a2;
int main(){
cin>>n>>m>>k;
dp[0]=0;
for(int i=1;i<=k;i++){
if(n>=10){
a1=max(a1+=17,a2+=60);
n-=10;
}else{
a1=max(a1+=17,a2);
n+=4;
}
if(a1>m){
cout<<"Yes"<<"\n"<<i;
return 0;
}
}
cout<<"No"<<"\n"<<a1;
return 0;
}