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