Task: Program Execution
Input (English): Z, b, 431, 3869, n, 1077, 3117
Output (English): 3, 4, 6, 7