Task: Program Execution
Input (English): 139, 161, 55, 143, g, p, u, s
Output (English): 1, 3, 4, 5, 6, 9