Task: Program Execution
Input (English): K, z, A, u
Output (English): -1