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