Task: Program Execution
Input (English): c, f, Y, 9615, 9355, n, w, Q, q
Output (English): 18970