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