Musket interview question

Havent made it that far