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