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