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]);
		}
	}
	
}

/**
 * @author Saifuddin Merchant 
 * 
 */
package com.sam.googlecodejam.helper;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class InputReader {

	BufferedReader iFileBuffer;
	long iCurrentLineNumber;

	public InputReader(String pFileName) {
		try {
			iFileBuffer = new BufferedReader(new FileReader(pFileName));
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
		iCurrentLineNumber = 0;
	}

	public String readNextLine() {
		try {
			return iFileBuffer.readLine();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return null;
	}
	
	public void close() 
	{
		try {
			iFileBuffer.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
