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