Task: Program Execution
Input (English): 9929, 3025, Y, p
Output (English): 12954