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