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