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