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