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