Task: Program Execution
Input (English): same, f, i, n, Z
Output (English): samefinZ