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