Add #14 C solution