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