Task: Program Execution
Input (English): 9767, 5631, T, 3565, 6027, 9953, 9073, 9907, 455, 2673, N
Output (English): 57051