Task: Program Execution
Input (English): 9731, T, 495, 1737, 2885, z, 799, 2995, 9579, 1887, s, 8583, z, y, F, 7525, 1063, 4719
Output (English): 12