using System;
public class Program
{
public static void Main()
Console.WriteLine(IsSquare(16));
}
public static bool IsSquare(int value)
double result = Math.Sqrt(value);
int squareRoot = (int)Math.Ceiling(result);
return (value == (squareRoot * squareRoot));