A spider has one shoe and one sock for each of its eight legs. In how many different orders can the spider put on its socks and shoes, assuming that on each leg the sock must be put on before the shoe? (For avoidance of doubt, a spider will not be putting its 5th leg sock on its 3rd leg.)