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