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