Task: Program Execution
Input (English): Z, K, K, 1959, Q, 7371, 5675, Z
Output (English): 1959, 7371, 5675