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