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