// The following program reads characters from the keyboard into the String called inData.
// Then the characters stored in that String are sent to the monitor.

import java.io.*;
public class Echo
{
  public static void main (String[] args) throws IOException
  {

  InputStreamReader inStream = new InputStreamReader( System.in ) ;
  BufferedReader stdin = new BufferedReader( inStream );

  String inData;
  System.out.println("Enter the data:");
  inData = stdin.readLine();
  System.out.println("You entered:" + inData );
  }
}
