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