#30269: c++解法


milk_wu (milk(訂閱訂起來))


#include <iostream>

using namespace std;

int main()
{
    int a, b, c;
    cin >> a >> b;
    c = (a*2+b)%3;
    if (c==0)
    {
        cout << " 普通" <<endl;
    }
    else if (c == 1)
    {
        cout << " 吉" <<endl;
    }
    else if (c == 2)
    {
        cout << " 大吉" <<endl;
    }
    return 0;
}