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