Task: Program Execution
Input (English): X, j, d, t, 367, 181, 2511, 4277, H, 7441, F, E, M, 1215, s, 1545
Output (English): 5, 6, 7, 8, 10, 14, 16