Task: Program Execution
Input (English): t, 427, z, d, p, 321
Output (English): 1, 2, 3, 4, 7