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