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