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