Task: Program Execution
Input (English): A, i, 3365
Output (English): 3