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