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