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