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