Task: Program Execution
Input (English): a, w, 241, n
Output (English): 1, 2, 4