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