Task: Program Execution
Input (English): t, n, 369, 183
Output (English): 1, 3, 6, 8, 9