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