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