Help me in solving LBJ202A problem

My issue

My code

// Step 1: Read and understand the problem statement and sample test cases

// Click on 'Next' once you are ready to proceed.
// Solution as follows
import java.util.Scanner;

class Codechef
{
	public static void main (String[] args)
	{
	    Scanner read = new Scanner(System.in);
	    int t = read.nextInt();
	    for(int i=0; i<t; i++){
	        int X = read.nextInt();
	        int Y = read.nextInt();
	        int Z = read.nextInt();
	        
	        // Borrow the solution template from the sub-components
	        if (A%2 == 0 && C%2 == 0){
	            int B = (A + C)/2;
	            System.out.println(CHICKEN);
	        }
	        else if (A%2 != 0 && C%2 != 0){
	            int B = (A + C)/2;
	            System.out.println(DUCK);
	        }
	        else if(){
	            System.out.println(ANY);
	        }
	        else {
	            System.out.println(NONE);
	        }
	    }
	}
}

Learning course: Java for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone