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