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