Task: Program Execution
Input (English): T, N, R, G, 2451, 4901, f, 2635, U, 6525, z, 7363, U, 8279, 2507
Output (English): 1, 2, 3, 4, 7, 9, 11, 13