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