https://www.acmicpc.net/problem/10926
입력해줘야 하는 것이 문자임으로 String을 사용해야한다. 따라서 Scanner클래스를 사용한 경우 next 또는 nextLine을 사용해야한다.
next와 nextLine 의 차이점 next는 공백 전 까지 출력하고 nextLine은 엔터 전까지의 모든 문자들을 출력한다.