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