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