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