#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";
        return 0;
    }
    int percentage=(attended*100)/held;
    cout<<percentage<<%<<endl;
    if(percentage>=75)
    cout<<"yes";
    else
    cout<<"No";
    return 0;
}