#include <iostream>

#include <fstream>
#include <string>
using namespace std;

string passwords[10000];
int count = 0;

bool is_common(string password)
{
    for (int i = 0; i < count; i++) {
        if (password == passwords[i]) {
            return true;
        }
    }
    return false;
}

int main()
{
    ifstream read("passwords.txt");

    while (read >> passwords[count])
    {
        count++;
    }

    string password;
    cout << "Please enter your password\n";
    cin >> password;
    if (is_common(password))
    {
        cout << "It is common\n";
    }
    else
    {
        cout << "It is not common\n";
    }

    return 0;
}