import java.util.Scanner;
public class Simple {
public static void main(String[] args) {
Scanner input = new Scanner(
System.in);
System.out.println("Введите 3 числа через запятую:");
String str = input.nextLine();
String[] nums = str.split(",");
int first = Integer.parseInt(nums[0]);
int second = Integer.parseInt(nums[1]);
int third = Integer.parseInt(nums[2]);
System.out.println("hello " + first + " world hello " + second + " world hello " + third + " world");
}
}