코드 : https://www.acmicpc.net/source/49815740 🔵 while문을 무한으로 돌리며 각 행성의 연도에 1씩 증가시킴. 조건에 맞으면 result 출력
while