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