Task: Program Execution
Input (English): FRDmazcmX, PSmazsm
Output (English): a, c, d, f, m, r, x, z