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