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