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