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