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