Well step 1 is write the "hello world" program to make sure you can edit code, compile it and run it.

Then move on to actually solving the problem. My first suggestion is read in a number, then print it out again unchanged.