내 풀이
public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); char[] charArr = a.toCharArray(); for(char word : charArr){ System.out.println(word); } } }