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