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