This can be calculated using the formula for the number of ways to distribute n distinguishable objects into r indistinguishable boxes, which is: n+r-1 choose r. In this case, n = 5 and r = 3, so the formula becomes: 5+3-1 choose 3 = 7 choose 3 = 35.