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