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