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