Task: Program Execution
Input (English): x, A, W, 9361, 2935
Output (English): 4, 5