Task: Program Execution
Input (English): 493, 241, 239, g, q, 319, 49, 245
Output (English): 1, 2, 3, 4, 5, 9