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