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