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