If you haven't got much done yet, I suggest you write a program which reads two integers and prints them out. Then you can use that as the first stage for enlarging your program to fulfil the above requirements.
By the way, did the instructions say integer, Integer or int? In Java® the three are different.
I am Arthur, King of the Britons. And this is a tiny ad: