https://9dok.net/document/z3d3k91m-spectroscopy-problem-c.html