<reponame>deniscostadsc/playground<gh_stars>10-100
#include <cstdint>
#include <iostream>

int main() {
    int16_t c, energy;

    std::cin >> c;

    for (int16_t i = 0; i < c; i++) {
        std::cin >> energy;

        if (energy > 8000) {
            std::cout << "Mais de 8000!";
        } else {
            std::cout << "Inseto!";
        }

        std::cout << std::endl;
    }

    return 0;
}
