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