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