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