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