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