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