Task: Program Execution
Input (English): 5133, t, H, L, D, 1355, 7531
Output (English): 1, 6, 7