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