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