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