If the sun were only 15,000,000 km from Earth, then it would take light
only 50 seconds to reach Earth from the sun. But it's not. You dropped
a zero.
The sun is roughly 150,000,000 kilometers from Earth, and light takes
about 500 seconds (8.3 minutes) to make the trip.