Replace question marks with suitable numbers

Question: #1004
5,6,7,8,9.
7,6,8,5,8.
6,7,8,5,8.
8,9,7,8,5.
Do you like Quest&Rest game? Recommend it to your inquisitive friends and compete with them every day!