• + 0 comments

    Java 8 import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*; import java.util.Scanner;

    public class Solution { public static void main(String[] args) { // Create a Scanner object to read input from stdin Scanner scan = new Scanner(System.in);

        // Read a full line of input and store it in the variable inputString
        String inputString = scan.nextLine();
    
        // Close the Scanner object
        scan.close();
    
        // Print "Hello, World." on the first line
        System.out.println("Hello, World.");
    
        // Print the value of inputString on the second line
        System.out.println(inputString);
    }
    

    }