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