Let there be 50 natural numbers $a_i$ such that $0 < a_1 < a_2 < \ldots < a_{50} < 150$. What is the greatest possible sum of the differences $d_j$ where each $d_j = a_{j+1} - a_j$?

Let's think step by step and output the final answer within \boxed{}.
user