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