import java.util.Scanner; class Program05 { public static void main(String args[]) { Scanner bevitel = new Scanner(System.in); System.out.print("Szöveg: "); String s1 = bevitel.nextLine(); System.out.print("Szöveg: "); String s2 = bevitel.nextLine(); System.out.println(s1 + " " + s2); } }