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