Task: Program Execution
Input (English): z, m, a
Output (English): -1