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