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