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