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