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