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