// THIS IS a JAVA SOURCE FILE
/* 
	this is another form of a comment 
*/

import java.io.*;
import java.util.*;

public class IO  // i.e input/output
{
	
	public static void main( String[] args ) throws Exception
	{
		int lineNum=0;
		if ( args.length < 1 )
			System.exit( 1 );
		
		BufferedReader infile = new BufferedReader(new FileReader(args[0]) );
		
		while ( infile.ready() ) //there is something left to read
		{	System.out.println( ++lineNum + ": " + infile.readLine() );
		}
		
	} // END MAIN
	
	
}