Pythagorean triple

HihoCoder - 1872