```
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.io.*;
class GFG {
public static void main(String[] args)
{
Scanner s = new Scanner(System.in);
String preString = "hello, ";
String name = s.next();
String result = preString.concat(name);
System.out.println(result);
}
}
```
```
#include <iostream>
using namespace std;
int main ()
{
string word;
while (cin>>word)
cout<<"hello, "<< word <<endl;
return 0;
}
```