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