Please use code tags - put three backticks ``` on a line by themselves both before and after the code.
When I tested your code on IDEONE, the output wasn’t exactly the same - there were no leading spaces to align the numbers as required.
Expected
12345
+67890
------
80235
Yours
12345
+67890
------
80235