Task: Program Execution
Input (English): X, 317, F, 517, j, s, 3415, 8925, 7747, 125, l, R, H, 1865, P, F, O, Y, 7591, 6891, 4337, g, 5161, 2441
Output (English): 1, 3, 5, 6, 11, 12, 13, 15, 16, 17, 18, 22