added script to split the input from task1a