could someone help me with this program i dont really know how i am supposed to do it.
reverse.
For example, if the input is 19, you should calculate 19 + 91, then print 110.
For instance, if the input is 123, you should calculate 123 + 321, then print 444.
Input and output
Input will contain a single line with a natural numbers n.
Output should contain a single line with a number indicating the value of n added to the digitreverse of n.```
this is the instructions and i am supposed to reverse an interger and then add them toghether.