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