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