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