# 먼저 반복되는 수
<div class="embed-responsive embed-responsive-16by9">
<iframe src="https://www.youtube.com/embed/44pfhb2VRhQ" frameborder="0" allowfullscreen></iframe>
</div>
## 문제
다음 배열 중, 가장 먼저 반복되는 수를 찾아 출력하시오.
## 출력 예
```
배열: [3, 7, 12, 4, 8, 9, 12, 8]
=> 12
```