import java.util.Scanner;

public class Main
{
    public static void main(String[] args){
        // System declares variable(s) needed...
        Scanner in = new Scanner(System.in);
        int angka = 0;

        // Looping begin
        do{
            // System asks for user number input
            System.out.print("Masukkan Angka (1-100): ");

            try{
                // System asks for user input
                angka = in.nextInt();

                // If the input is out of range, system will ask for user input again.
                if(angka < 1 || angka > 100)
                    System.out.println("Angka di luar batas!");
            }catch(Exception e){
                // In case exception happens... system will this...
                System.out.println("Input harus angka!");

                // ...and then reinstate the Scanner class.
                in = new Scanner(System.in);
            }
        }while(angka < 1 || angka > 100);
        // Looping end

        // System checks for number input from user
        // If the specified number is odd, or within 6-20 range...
        if(angka % 2 == 1 || (angka >= 6 && angka <= 20)){
            // print this.
            System.out.println("AJIB!");
        }else{
            // Else... print this.
            System.out.println("Tidak AJIB!");
        }

        // System complete
    }
}