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