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