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