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