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