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