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