Task: Program Execution
Input (English): 319, 499, g, b
Output (English): 1, 3, 4, 9