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