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