Task: Program Execution
Input (English): m, O, q, 3081, h
Output (English): 1