A certain arithmetic progression has a first term of 5 and a common difference of 3. If the sum of the first \( n \) terms of this arithmetic progression is 315, what is the value of \( n \)? Let's think step by step and output the final answer within \boxed{}.
user