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