private boolean checkMask(String passwordMask) {

        boolean checkPasswordResult = false;

        for (int i = 0; i < passwordMask.length(); i++) {
            if (passwordMask.charAt(i) != 'c' && passwordMask.charAt(i) != 'C' && passwordMask.charAt(i) != 'n') {
                checkPasswordResult = false;
                break;
            } else {
                checkPasswordResult = true;
            }
        }

        if (!checkPasswordResult) {
            System.out.println("Тычеупоротыйштоле? Буквычитатьнеумеещщщ!");
        }

        return checkPasswordResult;
    }