Task: Program Execution
Input (English): 495, g, k, 341
Output (English): 1, 3, 4, 5, 9