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