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