Task: Program Execution
Input (English): T, 6917, R, 3045, 8407, 6853, d, L, H, m, x, e, 815, 1719, h, 8107, 4863
Output (English): 2, 4, 5, 6, 13, 14, 16, 17