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