Task: Program Execution
Input (English): g, 217, c, l
Output (English): 1, 2, 7