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