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