There are the following situations:
An 8 case: 800,000;
Two 8:88000, 80800, 80080, 80008;
Three eights: 8880, 8808 and 8088.
I hope my answer can help you.