Task: Program Execution
Input (English): 481, 447, m, j
Output (English): 1, 4, 7, 8