조건을 미리 생각하고 푸는 연습 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); boolean check = true; StringBuilder sb = new StringBuilder(); StringBuilder answer = new StringBuilder(); f..