using System; class Program() { static void Main() { int T = int.Parse(Console.ReadLine()); string[][] cases = new string[T][]; int[] L = new int[T]; int[] R = new int[T]; int[] A = new int[T]; int[] B = new int[T]; for(int i=0; i