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