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