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