Task: Program Execution
Input (English): 5893, P, 6979, 7103, 4777, h, R, l, 9387, D, D, 1211, 7877, X, 65, W, x
Output (English): 1, 3, 4, 5, 9, 12, 13, 15