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