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