#include<iostream>
#include <string>
std::string checkVotingEligibility(int age)
{
    if(age < 0)
    {
        return"Invalid input";
        
    }
    else if (age>=18)
    {
        return "Eligible";
    }
    else {
        return "Not eligible";
    }
}
int main()
{
    int age;
    if (!(std::cin>>age))
    {
        return 1;
    }
    std::string status = checkVotingEligibility(age);
    std::cout<< status<<endl;
    
    return 0;
}