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