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