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