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