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