Task: Program Execution
Input (English): p, 737, R, U, l, j, N, 8629, i, 2145, 1247, B, Y, Z, a, N, C
Output (English): 737, 8629, 2145, 1247