Just use java input and output to respose greetings.