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