Task: Program Execution
Input (English): A, z, S, 1179, b, g, 9979, n, 7481, B, 531, 3821, O, 4509, 5211, 2913, D, 5107
Output (English): 1179, 9979, 7481, 531, 3821, 4509, 5211, 2913, 5107