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