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