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