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