Task: Program Execution
Input (English): i, n, w, f, z
Output (English): -1