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