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