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