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