3.concat3

Write a function named concat3 that receives 3 strings as parameters (string1, string2, string3) and an additional string named separator.

The function should concatenate the three strings using the provided separator and return the result.

Example 1

Input

string1

=

string2

=

string3

=

separator

=

Output