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