Task: Program Execution
Input (English): n, 377, r, z, y, c, c, 463, s
Output (English): 3, 4, 6, 7