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