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