int main() {
	int current = 0, 	
	    square;		

	
	
	while (((square=current*current) % 1000000 != 269696) && (square<INT_MAX)) {
		current++;
	}

        
	if (square>+INT_MAX)
	    printf();
	else		   
	    printf (, current);

        
	return 0 ;
}