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