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