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