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