Task: Program Execution
Input (English): 2929, 2251, s, M, F, g, 415, 1171, 7611, 7113
Output (English): 2929, 2251, 415, 1171, 7611, 7113