Task: Program Execution
Input (English): I, 1365, C, 2001, 391, i, c, 2013, 9957, y, 5339, 2017, 1571, D
Output (English): 6