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