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