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