Task: Program Execution
Input (English): 1487, Z
Output (English): 1