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