Four cards labeled A, B, C, and D are randomly placed in four boxes labeled A, B, C, and D. Each box receives exactly one card.

In how many ways can the cards be placed in the boxes?​