// Import statement
import java.io.*;

/**
 * This class takes an input string entered from the keyboard and
 * inserts a blank character between each character in the input string
 * and prints the new string to the command line
 * @author
 * @version 1.0
 */

public Class SimpleProgram{

  	/**
   	* This method returns a modified version of the input string.
   	* It inserts a blank character after each character in the input string.
   	* @param num The string to be modified
  		* @return modified string
   	*/
	public String modifyString(String inputString){
		int numberOfCharacters;
		String newString = new String();
		String blank = "";

		numberOfCharacters = inputString.length();

		for (int i= 1; i< numberOfCharacters; i++){
			newString = newString + inputString.substring(i,i+1) + blank;
		return newString;
	}

	/**
 	* This method gets the input string from the command line.
  	* @return The string input by the user
  	* @exception IOException On input error.
  	* @see IOException
   	*/
	public String getInput() throws IOException{

  		// Create a buffered reader using System.in
 		InputStreamReader istr = new InputStreamReader (System.in);
		BufferedReader inData = new BufferedReader(istr);
		String str;

	    // Read the data input on console using
     	// the readLine() method of the BufferedReader Class
		str = inData.readLine();
		return str;
	}


   
}
