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