There are 6 baskets on the table. Each basket has 9, 15, 8, 17, 7 and 3 apples. John chose first, Emma chose third, Matt chose sixth, Liam chose fifth, Sean chose second, and Olivia chose fourth. How many apples did Liam and John choose in total?