Task: Program Execution
Input (English): K, p, y, 6125, g
Output (English): 11, 16, 25, 6125, 7