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