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