Task: Program Execution
Input (English): e, 29, a, 379, g
Output (English): 2, 3, 7, 9