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