Hello cuteanu, welcome to the forums.

You could use the Scanner class to read user input from the keyboard.
...