Pure-Python implementation of Hensel lifting for square roots modulo a prime power.
Find the closest square numbers to a given input number from the command line.