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