1 var a, b int for i := 0; i < N; i++ { a += a % M } for j := 0; j < M; j++ { b += b % N } Time Complexity YOUR ANSWER GOES HERE Space complexity YOUR ANSWER GOES HERE