Task: Program Execution
Input (English): y, M, X, 6399, 8383, 4459
Output (English): 25, 13, 24, 6399, 8383, 4459