
문자열 str이 주어질 때, str을 출력하는 코드를 작성해 보세요.
입력 #1
출력 #1
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.next();
int a = str.length();
if(a >= 1 && a <= 1000000) {
System.out.println(str);
}
}
}