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