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