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