Square root (#34) - Azerbaijan Computing Olympiad