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