Task: Program Execution
Input (English): R, 5745, G, x, 7521, U, 673
Output (English): 2, 5, 7