Task: Program Execution
Input (English): 1059, 963, 509, B, M, V, 6045, H, R, 3203, T, K, 9637, Y, 2415, b, 5105, 7019, 9781, 4803, 297, x
Output (English): 1, 2, 3, 7, 10, 13, 15, 17, 18, 19, 20, 21