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