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