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