package introduction.stdinout2;

import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Created by jsong on 03/03/2017.
 * <p>
 * hackerrank	: https://www.hackerrank.com/jsong00505
 * github		: https://github.com/jsong00505
 * linkedin		: https://www.linkedin.com/in/junesongskorea/
 * email		: jsong00505@gmail.com
 * <p>
 * challenge	: Java Stdin and Stdout II
 */
public class Solution {
	public static void main(String[] args) {
		try(
			Scanner in = new Scanner(System.in);
			PrintWriter out = new PrintWriter(System.out);
		) {
			int i = in.nextInt();

			// Write your code here.
			double d = in.nextDouble();
			in.nextLine();
			String s = in.nextLine();

			System.out.println("String: " + s);
			System.out.println("Double: " + d);
			System.out.println("Int: " + i);
		}catch(Exception e) {

		}
	}
}

@@ -668,31 +668,24 @@
 Line();%0A%0A%09%09%09
-System.
 out.println(
@@ -700,31 +700,24 @@
  %22 + s);%0A%09%09%09
-System.
 out.println(
@@ -736,23 +736,16 @@
  d);%0A%09%09%09
-System.
 out.prin

use PrintWriter class