Task: Program Execution
Input (English): 357, 301, 483, 21, p, 27, t
Output (English): 0, 1, 2, 3, 4, 5, 7, 8