编辑代码

import java.util.Scanner;
class Main {
	public static void main(String[] args) {
        //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。

        Scanner sc = new Scanner(System.in);
        int n= sc.nextInt();
		System.out.println(n);
   

            //nextLine
            String str2 = sc.nextLine();
            System.out.println(str2);

             //next
        String str = sc.next();
        	System.out.println(str);
	}
}