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