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