#include <iostream>
#include <string>
using namespace std;

int main() {
    string name;
    int attended, held;
    
    getline(cin, name);
    cin >> attended;
    cin >> held;
    
    if (attended < 0) {
        cout << "invalid";
        return 0;
    }
    
    if (held <= 0) {
        cout << "invalid input";
        return 0;
    }
    
    if (attended > held) {
        cout << "invalid input";
        return 0;
    }
    
    int percentage = (attended * 100) / held;
    
    cout << percenage << "%" << endl;
    
    if (percentage >= 75) {
        cout << "yes";
        
    } else {
        cout << "no";
    }
    return 0;
    
}