Publicis Sapient interview question

Read input from Csv file and do some validation and write the output in another csv