Hey, I can't seem to figure out why the last condition is not validated, I know doing the comparison of i and i+1 doesn't return the right number, but lastly I increase it by 1 and it should get it right. The output is correct for the input given. Thank you!