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