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