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