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