How many ways are there to put 4 balls in 3 boxes if the balls are distinguishable and the boxes are distinguishable?
For each ball, there are three choices of which box to put it in. So, the answer is 4^3 = 64.