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