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