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