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