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