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