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