Given a string containing lowercase latin characters, can you split the string by a character?
Input Specification
The first line will contain the string . The length of is between and characters, inclusive. will only contain lowercase latin characters.
The second line will contain a character . is a lowercase latin character.
Output Specification
Split the string by , and output each resultant string on its own line.
Sample Input
abcdefabcdefabcdefe
f
Sample Output
abcde
abcde
abcde
e
Comments