import java.io.*; class Program { public static void main(String args[]) { Console console = System.console(); System.out.print("Szöveg: "); String str = console.readLine(); System.out.println(str); } }