An arithmetic sequence has a1=1a_1 = 1a1=1 and d=3d = 3d=3. Find the smallest nnn such that Sn>1000S_n > 1000Sn>1000.
252525
262626
272727
282828