C solution