Task: Program Execution
Input (English): k, q, a, u, q
Output (English): -1