Task: Program Execution
Input (English): q, a, 149
Output (English): 1, 4, 9