Task: Program Execution
Input (English): TuimqgMTzrlJKsaVRbDqASLg, A
Output (English): 1