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