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