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