Add #41 C solution