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