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