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