import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append(bufferedReader.readLine());
stringBuilder.append("??!");
System.out.println(stringBuilder);
bufferedReader.close();
}
}
간단하게 입력받은 문자열에 "??!"을 StringBuilder
를 통해 합쳐서 출력하는 문제