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