Task: Program Execution
Input (English): 4401, 4195, 5115, 5025, 1871, 6131, 547, 8757, 1891, F, 3167, P, 1959, 4893, 6335, 5497, g, 6865, 7773
Output (English): 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 14, 15, 16, 18, 19