#include <iostream>
using namespace std;
int main() {
    int broj;
    cin >> broj;

    if(broj >= 0 and broj <= 9) {
        cout << "ednocifren" << endl;
    }
    if(broj >= 10 and broj <= 99) {
        cout << "dvocifren" << endl;
    }
    if(broj > 99) {
        cout << "pogolem od 99" << endl;
    }
    

    return 0;
}