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