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