C is not that complicated...

 

v20240901