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