Help me in solving BNE_APT problem

My issue

runtime error signup

My code

/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Main
{
	public static void main (String[] args) 
	{
		// your code goes here
		Scanner s= new Scanner(System.in);
		int t =s.nextInt();
		for(int i=0;i<t;i++)
		{
		int x=s.nextInt();
		int n=s.nextInt();
		int y=s.nextInt();
		int m=s.nextInt();
		int xn=x*n;
		int ym=y*m;
		System.out.println(xn+ym);
		}
		
	}
}

Problem Link: BNE_APT Problem - CodeChef

@sathwika_357
U don’t need to take the input of test cases in this problem .
and there were one calculation mistake too .
I have corrected it in your code.

/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Main
{
	public static void main (String[] args) 
	{
		// your code goes here
		Scanner s= new Scanner(System.in);
		int x=s.nextInt();
		int n=s.nextInt();
		int y=s.nextInt();
		int m=s.nextInt();
		int xn=x*y;
		int ym=n*m;
		System.out.println(xn+ym);
	}
}