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