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