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