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