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