def sum_Square(n) :
     
    i = 1 
    while i*i <= n : 
        j = 1
        while (j*j <= n) : 
            if (i*i+j*j == n) : 
                return True
            j = j+1
        i = i+1     
    return False
def sum_Square(n):
    j2 = 1
    while j2 * j2 <= n:
        j = 1
        while j * j <= n:
           
            if j2 * j2 + j * j == n:
                return True
            j = j + 1
        j2 = j2 + 1
    return False