https://www.acmicpc.net/problem/10869
두 자연수를 입력해야 하므로 Scanner클래스를 사용한다. 출력될 때 줄 바꿈이 일어남으로 println을 사용한다.