Task: Program Execution
Input (English): 1741, B, 7395, 9169, 2371, H, 687, 319, 3069, 3851, 27, v, 7327, 1739, 2783, 5103
Output (English): 2, 6, 12