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