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