The total number of ways in which 5 balls of different colour can be distributed among 3 person so that each person gets at least one ball is