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