#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
using namespace std;

const string KUJI[] = { "超大吉","大吉","中吉","小吉","凶","大凶" };

int main() {
    srand((unsigned int)time(NULL)); // 乱数の種をセット
    while (true) {
        string ans;
        cout << "おみくじを引きますか？(y/n)";
        cin >> ans;
        if (ans == "y") {
            int r = rand() % 6;
            cout << KUJI[r] << endl;
        }
        if (ans == "n") break;
    }
}
