Task: Program Execution
Input (English): 2971, Z, t, 8623, F, z, a, 4869, 3005
Output (English): 19468