Need help with a problem. Pretty new to this kind of stuff.

You require an algorithm that will receive an integer from the screen, add 5 to it, double it , subtract 7 from it and display the final number.

Pretty much I am confused what I need to put in the input, processing and output.

Any help and explanations greatly appreciated