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