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