Task: Program Execution
Input (English): M, 2735, 5103, 3549, Z, y, i
Output (English): 2735, 5103, 3549