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