Task: Program Execution
Input (English): 281, 9505, Y, P, d
Output (English): 281, 9505, 25, 16, 4