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