The 3 security officers are promptly killed by the natives, and the rest of the landing party is captured. Meanwhile, back in orbit, Scotty notices a Klingon ship approaching and must warp out of orbit to escape detection. Bones cures the native king who is suffering from the flu, and as a reward the landing party is set free and given all of the light bulbs they can carry. Scotty cripples the Klingon ship and warps back to the planet just in time to beam up Kirk et. The new bulb is inserted, and the Enterprise continues with its five year mission.
Efficiency experts replace only dark bulbs.
They don't like to share the spotlight. One to hold the bulb, two to turn the ladder, and seventeen in on the guest list. One to change the bulb, and the other to kick the switch. Sorry, light bulbs are an evolutionary dead end. It's left to the reader as an exercise.