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