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