Task: Program Execution
Input (English): g, i, p, 25, 21, n, 307
Output (English): 0, 1, 2, 3, 5, 7