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