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