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