#39418: JAVA


a89933049@gmail.com (小旺仔)


import java.util.Scanner;

public class App {
    public static void main(String[] args) throws Exception {
        int M,D,S ;
        Scanner scan = new Scanner(System.in);
        M=scan.nextInt();
        D=scan.nextInt();
        S=(M*2+D)%3;
        if (S==0){
            System.out.println("普通");
        }
        if (S==1){
            System.out.println("吉");
        }
        if (S==2){
            System.out.println("大吉");
        }
        scan.close();
    }
#39419: Re: JAVA


a89933049@gmail.com (小旺仔)


import java.util.Scanner;

public class App {
    public static void main(String[] args) throws Exception {
        int M,D,S ;
        Scanner scan = new Scanner(System.in);
        M=scan.nextInt();
        D=scan.nextInt();
        S=(M*2+D)%3;
        if (S==0){
            System.out.println("普通");
        }
        if (S==1){
            System.out.println("吉");
        }
        if (S==2){
            System.out.println("大吉");
        }
        scan.close();
    }