A combination lock like the one shown has three dials. Each of the dials has numbers ranging from 1 to 8. How many different combinations are possible with the lock?

512 combinations
343 combinations
24 combinations
48 combinations