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