Write a program to print N equal parts of a given string. For example, the string “abcdefghw”. The output should be (abc),(def),(ghw)