Riya is playing with some number cards. She made a deck of these cards and pulled the cards as shown below.
The number lying between 500 and 600 which has 8 at its ones place that can be formed using the numbers on the cards is __________.
A568
B658
C582
D258