public static void main(String[] args) throws IOException {
		InputStream inputStream = Tongues.class.getResourceAsStream("A-small-practice.in");
		InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
		BufferedReader bufferReader = new BufferedReader(inputStreamReader);
		int numLines = Integer.parseInt(bufferReader.readLine());
		String line;
		List<String> myList = new ArrayList<String>();
		for (int i = 0; i < numLines; i++) {
			myList.add(bufferReader.readLine());
		}
		List<String> decodeList = Tongues.decodeList(myList);
		for (int i = 0; i < numLines; i++) {
			line = decodeList.get(i);
			line = String.format("Case #%1$d: %2$s ", i+1, line);
			System.out.println(line);			
		}
		bufferReader.close();
		inputStreamReader.close();
		inputStream.close();
	}