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