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