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