Task: Program Execution
Input (English): Y, 1219, 2963, n, t, 1395
Output (English): 5577