import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception{ /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ BufferedReader br= new BufferedReader(new InputStreamReader(System.in)); int t = Integer.parseInt(br.readLine()); for(int r=0;ral= new ArrayList(); for(int y=0;yslope= new ArrayList(); for(int i=0;i