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