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