Task: Program Execution
Input (English): 2977, g, 801, 2977, n, 1713, s, i, t, f, d, 697, n
Output (English): d, f, g, i, n, s, t