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