Task: Program Execution
Input (English): t, f, 417, c
Output (English): 1, 4, 7