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