Task: Program Execution
Input (English): 499, 379, 323, g, k
Output (English): 2, 3, 4, 7, 9