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