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