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