Task: Program Execution
Input (English): 7751, 987, 6345, T, d, Y
Output (English): 4, 5, 6