Discrepancy in output while running as custom input vs submitting code


Getting the output for input value = 4 as 1 4 12 26 18 on submitting the code. Whereas, while running the input value = 4 as a custom test input, it results in correct value. Has this issue been fixed?