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