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