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