A company had 20,000 shares outstanding on January 1. They issued 6,840 shares on May 31. And on August 31, 4,906 shares were purchased as treasury stock. Calculate the weighted average number of shares outstanding for the year to the nearest whole number.