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