Task: Program Execution
Input (English): 2003, T, 31, 7301, p
Output (English): 3