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