Task: Program Execution
Input (English): 157, 481, n, t, d, j
Output (English): 1, 4, 5, 7, 8