package be.mokarea.gcj.common;

public abstract class TestCaseReader<T extends TestCase> {
	public abstract T nextCase() throws Exception;

	public abstract int getMaxCaseNumber();
}

package ProblemSolvers;

import CaseSolvers.RecycledNumbersCase;

public class RecycledNumbers extends ProblemSolver {

	public RecycledNumbers(String filePath) {
		super(filePath);
	}

	@Override
	public void process() {
		cases = io.readInt();

		for (int i = 1; i <= cases; i++) {
			new RecycledNumbersCase(i, 1, io).process().printSolution();
		}
	}
}
