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