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