How many ways are there to invite one of four different friends over for dinner on five successive nights such that no friend is invited more than three times?.