c
const long long MAX_ITERATIONS = 1000000;  // Replace with an appropriate safe value
long long maxIterations = MAX_ITERATIONS;
