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