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