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