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