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