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