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