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.PrintWriter;
import java.util.ArrayList;
import java.util.Scanner;


public class Solver {
	Scanner inFile=null;
	PrintWriter outFile=null;
	int caseNo;
	public Solver(int caseNo){
		this.caseNo=caseNo;
	}
	public void processInput(Scanner inFile,PrintWriter outFile){
		this.inFile=inFile;
		this.outFile=outFile;
		readInput();
		produceoutput();
		
	}
	private void produceoutput() {
       
	
		//outFile.printf("Case #"+caseNo+": %d\n",candidatecount);
		
		
	}
	public void readInput(){
		String s="";
		if(inFile.hasNext()){
			//get the store credit
			int A=Integer.parseInt(inFile.next().trim());
			int B=Integer.parseInt(inFile.next().trim());
			RecycleNumber r=new RecycleNumber(A,B);
			outFile.printf("Case #"+caseNo+": %d\n",r.count);
			if(inFile.hasNext())inFile.nextLine();			
		}
	}

}
