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