Help me in solving LBJ13 problem

My issue

My code

import java.util.Scanner;

class Codechef
	public static void main (String[] args)
		Scanner read = new Scanner(;
		int t = read.nextInt();
		for(int i=0; i<t; i++)
		    int W = read.nextInt();
    		int X = read.nextInt();
    		int Y = read.nextInt();
    		int Z = read.nextInt();
    		// Update your code below this line to solve the problem
    		if(W%Z==0&&Z/W==1||W%Y==0&&Y/W==1||W%X==0&&X/W==1||W%(X+Y)==0&&(X+Y)/W==1||W%(X+Z)==0&&(X+Z)/W==1||W%(Y+Z)==0&&(Y+Z)/W==1)  System.out.println("YES");
    		else    System.out.println("NO");

Learning course: Solve Programming problems using Java
Problem Link: CodeChef: Practical coding for everyone