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