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