Task: Program Execution
Input (English): g, T, A
Output (English): -1