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