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