Task: Program Execution
Input (English): c, j, g
Output (English): -1