Task: Program Execution
Input (English): X, 7353, 4411, 4757, a, 609, 383, Y, 2599, T, 4297, M, Y, 1191, 3671, t, d, 5871
Output (English): 2, 3, 4, 6, 7, 9, 11, 14, 15, 18