Task: Program Execution
Input (English): U, T, 9727, 9287, 3285
Output (English): 1, 2