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