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