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