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