Determine the smallest positive integer \( n \) such that the sum of the first \( n \) consecutive integers is equal to or greater than 1000. Let's think step by step and output the final answer within \boxed{}.
user