Task: Program Execution
Input (English): X, 6987, U, T, N, R, 5537, H, u
Output (English): 7