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