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