Task: Program Execution
Input (English): m, Y, W, 1881, 3951
Output (English): 13, 25, 23, 1881, 3951