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