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