Task: Program Execution
Input (English): 2927, 5053, 2415, 8421, G
Output (English): 1, 2, 3, 4