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