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