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