Task: Program Execution
Input (English): 2009, 2033, J, U, R, 3339, 1369, U
Output (English): 3, 4, 5, 8