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