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