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