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