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