Task: Program Execution
Input (English): 5451, 1701, 9357, 5509, Y, r
Output (English): 22018