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