[DP1] Greedy failure (1 pt) [00QP]

Show that the following greedy algorithm does not correctly solve this problem, by describing inputs for which it does not return the correct answer.

\mathsf {for} i \gets 1 to n:
\mathsf {if} N_i < S_i:
Output "NY in month i"
\mathsf {else}:
Output "SF in month i"

In your example, be sure to explain what the correct answer is and also what the above algorithm finds.