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