Task: Program Execution
Input (English): X, c, 5027, 3381, 3525, 9397, q, W, 6995
Output (English): 1, 2, 7, 8