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