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