#include<iostream>
#include<string>
using namespace std;
int main(){
    string name;
    int attended,held;
    getline(cin,name);
    cin>>attended;
    cin>>held;
    if(attended<0||held<=0||attended>held){
        cout<<"Invalid input";
        retun 0;
    }
    int percentage=(attended*100)/held;
    cout<<perccentage<<"%"<<endl;
    if(percentage>=75)
        cout<<"Yes";
    else
        cout<<"No";
        return 0;
}