$code(0)\rightarrow ME$ will print $0$ times
$code(1)\rightarrow{\color{Blue} {i=1}}$${\color{Purple} {----------\rightarrow }{code(0)}}$
${\color{Purple} {----------\rightarrow }{code(-1)}}$
${\color{Purple} {----------\rightarrow }{ME}}$
${\color{Blue} {i=2}}$${\color{Purple} {----------\rightarrow }{code(-1)}}$
${\color{Purple} {----------\rightarrow }{code(-2)}}$
${\color{Purple} {----------\rightarrow }{ME}}$
So, for $code(1)$ $ME$ will print $2$ times
$code(2)\rightarrow{\color{Blue} {i=1}}$${\color{Purple} {----------\rightarrow }{code(1)}}$$\rightarrow$$ME$ prints $2$ times
${\color{Purple} {----------\rightarrow }{code(0)}}$
${\color{Purple} {----------\rightarrow }{ME}}$
${\color{Blue} {i=2}}$${\color{Purple} {----------\rightarrow }{code(0)}}$
${\color{Purple} {----------\rightarrow }{code(-1)}}$
${\color{Purple} {----------\rightarrow }{ME}}$
So, for $code(2)$ $ME$ will print $4$ times
Similarly $code(3)$ will print $ME$ $10$ times
and $Code(4)$ will print $ME$ $22$ times