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