package recycledNumbers;


public class OutputData {

	private int[] Steps;


	public int[] getSteps() {
		return Steps;
	}


	public OutputData(int [] Steps){
		this.Steps = Steps;
		
		for(int i=0;i<this.Steps.length;i++){
			System.out.println("Test "+(i+1)+": "+Steps[i]);
		}
	}
	
}

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;


public class Parser {

	private Scanner sc;
	private int ncases;
	private int curcase;

	public Parser(String inputFile) throws FileNotFoundException {
		InputStream input = (inputFile == null) ? System.in : new FileInputStream(new File(inputFile));
		sc = new Scanner(input);
		ncases = sc.nextInt();
	}
	
	public boolean hasNext() {
		return ncases > curcase;
	}

	public Case nextCase() {
		if (!hasNext())
			return null;
		curcase++;
		int a = sc.nextInt();
		int b = sc.nextInt();
		return new Case(curcase, a, b);
	}

}