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