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