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