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