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