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