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