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