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