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