스크린샷 2023-09-09 오전 11.33.12.png

스크린샷 2023-09-09 오전 11.33.21.png

def solution(stones):
		# 코드 작성

print(solution([2,5,1,3,2,1]))  # 출력 : 3