The sequence \(a_1, a_2, a_3, \ldots\) is defined as follows: \(a_1 = 2\), \(a_2 = 5\), and for \(n \geq 3\), \(a_n = (a_{n-1} + a_{n-2}) \mod 7\). What is the remainder when the 50th term of this sequence is divided by 7? Let's think step by step and output the final answer within \boxed{}.
user