Task: Program Execution
Input (English): m, M, W, g, 8887, 5351
Output (English): 5, 6