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