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