Add #36 C solution