Which number should you put instead of the question mark?

Question: #564
9
4
6
7
Our players say math questions are the hardest but the most effective ones! Boost your wisdom with Quest&Rest!