if leo, jessie and franchesca are going to a movie, in how many diffrent ways can they line up to buy their tickets?