Task: Program Execution
Input (English): 129, t, w, m
Output (English): 1, 2, 9