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