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