Task: Program Execution
Input (English): g, r, k, v, z, 387, y, 465, 399, g, 479, r
Output (English): 3, 4, 5, 6, 7, 8, 9