▣ 입력설명
첫 번째 줄에 7개의 수가 주어진다.
▣ 출력설명
첫 번째 줄에 가장 작은 값을 출력한다.
▣ 입력예제 1
5 3 7 11 2 15 17
▣ 출력예제 1 2
<html>
<head>
<meta charset="UTF-8" />
<title>출력결과</title>
</head>
<body>
<script>
let arr = [5, 7, 3, 2, 9, 11];
let minValue = Math.min(...arr);
let maxValue = Math.max(...arr);
console.log('최댓값 : ' + maxValue);
console.log('최솟값 : ' + minValue);
</script>
</body>
</html>