Task: Program Execution
Input (English): W, q, z, 7221, 6297, X, 5437, 5053, 5557, 4355
Output (English): 1, 2, 3, 6