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