Task: Program Execution
Input (English): W, j, 6149, 1043, k, T
Output (English): 4