Please attach a file with sample data and the expected output for better understanding.