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