Task: Program Execution
Input (English): m, d, O, Z, 6223, p
Output (English): 6223