Task: Program Execution
Input (English): k, 415, 221, 315, f, 331, f, p, k, z
Output (English): 1, 2, 3, 4, 5