Task: Program Execution
Input (English): e, 97, 369, 397, g
Output (English): 3, 6, 7, 9