Task: Program Execution
Input (English): Z, 93, 5299, 9185, 5099, n, X, 4519
Output (English): 1, 6, 7